Christopher Goes
|
6e26392209
|
Return config parse errors (#182)
|
7 years ago |
Ethan Buchman
|
690d6c6070
|
cli: WriteDemoConfig -> WriteConfigVals
|
7 years ago |
Jae Kwon
|
bcd8d403dc
|
Remove encoding from common cli
|
7 years ago |
Anton Kaliaev
|
541780c6df
|
uncomment tests
|
7 years ago |
Zach Ramsay
|
f39b575503
|
remove deprecated --root flag
|
7 years ago |
Anton Kaliaev
|
d8dd497069
|
fix metalinter errors
|
7 years ago |
Zach Ramsay
|
d6e03d2368
|
linting: add to Makefile & do some fixes
|
7 years ago |
rigel rozanski
|
f3eaf9b870
|
quickfix
|
8 years ago |
rigel rozanski
|
0a3a08a3bc
|
stderr PR revisions
|
8 years ago |
Ethan Frey
|
3400cee845
|
Handle --two-words as TMTWO_WORDS env var
|
8 years ago |
Ethan Frey
|
59a77e7bef
|
Remove Printf
|
8 years ago |
Ethan Frey
|
0ecb38c6da
|
Return exit code on error, disable in tests
|
8 years ago |
rigel rozanski
|
94c0172618
|
doc update
|
8 years ago |
rigel rozanski
|
33d0dd0bfc
|
add stderr to tests
|
8 years ago |
rigel rozanski
|
c76dca0456
|
cli stderr output for Execute
|
8 years ago |
Anton Kaliaev
|
b36203bb02
|
[cli] add a test case to TestParseLogLevel where there is no module key
|
8 years ago |
Ethan Frey
|
de02488778
|
Enhance the tests to make it clearer how these levels work together
|
8 years ago |
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
|
8 years ago |
Ethan Frey
|
8af1c70a8b
|
Renamed --debug to --trace, used for light-client and basecoin
|
8 years ago |
Ethan Frey
|
2f02ed18e9
|
One more helper function for cli tests...
|
8 years ago |
Ethan Frey
|
d0132b0fff
|
Moved helper functions into non-test code for reuse elsewhere
|
8 years ago |
Ethan Buchman
|
3585a542a0
|
cli: viper.Set(HomeFlag, rootDir)
|
8 years ago |
Ethan Frey
|
ee45dbdc8b
|
Test how unmarshall plays with flags/env/config/default struct
|
8 years ago |
Ethan Frey
|
8efeeb5f38
|
Add --debug flag to return full stack trace on error
|
8 years ago |
Ethan Frey
|
ef3b9610a1
|
Fixed up the --home flag, ebuchman check this out
|
8 years ago |
Ethan Frey
|
5637a78854
|
Test setting config file as root
|
8 years ago |
Ethan Frey
|
62427adbec
|
First basic test case on setup functionality
|
8 years ago |
Ethan Frey
|
435fd0ece7
|
Add clarifying comments as requested by Rigel
|
8 years ago |
Ethan Buchman
|
7becd35126
|
cli: more descriptive naming
|
8 years ago |
Ethan Buchman
|
a95a60cb0b
|
cli: support --root and --home
|
8 years ago |
Ethan Frey
|
d4ab9679d7
|
Fix up error in copyEnv
|
8 years ago |
Ethan Frey
|
b92bd8f6a8
|
Separate out PrepareBaseCmd, try to set env vars
|
8 years ago |