Commit Graph

26 Commits

Author SHA1 Message Date
Ethan Buchman a28e35fd98 Merge branch 'develop' into stderr 2017-06-23 22:21:36 -04:00
rigel rozanski f3eaf9b870 quickfix 2017-06-20 16:52:22 -04:00
rigel rozanski 0a3a08a3bc stderr PR revisions 2017-06-17 18:35:05 -04:00
Ethan Frey 3400cee845 Handle --two-words as TMTWO_WORDS env var 2017-06-15 20:16:22 +02:00
Ethan Frey 59a77e7bef Remove Printf 2017-06-14 17:01:15 +02:00
Ethan Frey 0ecb38c6da Return exit code on error, disable in tests 2017-06-14 16:51:33 +02:00
rigel rozanski 94c0172618 doc update 2017-06-07 05:05:11 -04:00
rigel rozanski 33d0dd0bfc add stderr to tests 2017-06-06 18:36:28 -04:00
rigel rozanski c76dca0456 cli stderr output for Execute 2017-06-06 16:13:44 -04:00
Anton Kaliaev b36203bb02
[cli] add a test case to TestParseLogLevel where there is no module key 2017-05-23 23:31:29 +02:00
Ethan Frey de02488778 Enhance the tests to make it clearer how these levels work together 2017-05-23 23:04:33 +02:00
Anton Kaliaev 5032b224bc
copy log level parsing from tendemint
API change due to me not wanting `flags` package to depend on
tendermint's config package.

Refs https://github.com/tendermint/tendermint/issues/504
2017-05-23 00:43:12 +02:00
Ethan Frey 8af1c70a8b Renamed --debug to --trace, used for light-client and basecoin 2017-05-17 12:03:26 +02:00
Ethan Frey 2f02ed18e9 One more helper function for cli tests... 2017-05-05 14:58:53 +02:00
Ethan Frey d0132b0fff Moved helper functions into non-test code for reuse elsewhere 2017-05-05 14:46:04 +02:00
Ethan Buchman 3585a542a0 cli: viper.Set(HomeFlag, rootDir) 2017-05-05 00:48:35 -04:00
Ethan Frey ee45dbdc8b Test how unmarshall plays with flags/env/config/default struct 2017-05-04 19:44:53 -04:00
Ethan Frey 8efeeb5f38 Add --debug flag to return full stack trace on error 2017-05-04 19:44:53 -04:00
Ethan Frey ef3b9610a1 Fixed up the --home flag, ebuchman check this out 2017-05-04 19:44:53 -04:00
Ethan Frey 5637a78854 Test setting config file as root 2017-05-04 19:43:33 -04:00
Ethan Frey 62427adbec First basic test case on setup functionality 2017-05-04 19:43:33 -04:00
Ethan Frey 435fd0ece7 Add clarifying comments as requested by Rigel 2017-05-04 19:43:33 -04:00
Ethan Buchman 7becd35126 cli: more descriptive naming 2017-05-04 19:43:33 -04:00
Ethan Buchman a95a60cb0b cli: support --root and --home 2017-05-04 19:43:33 -04:00
Ethan Frey d4ab9679d7 Fix up error in copyEnv 2017-05-02 17:16:22 +02:00
Ethan Frey b92bd8f6a8 Separate out PrepareBaseCmd, try to set env vars 2017-05-02 17:04:46 +02:00