-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skywire-cli terminal user interface improvements #1390
Conversation
…lobal flag to vpn and visor subcommands where it is actually used. Hide json global flag. Remove the last line of the help menu 'for more information about a command'
… rule rm --all -s flag to remove all transports / routing rules. Not fully implemented. make format check
…lp menu text for skywire-visor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, just small comment. Will merge after your decision about it.
cmd/skywire-visor/commands/root.go
Outdated
if logLvl != "" { | ||
if logLvl == "INFO" || logLvl == "DEBUG" || logLvl == "TRACE" { | ||
log.Info("setting log level to: ", logLvl) | ||
conf.LogLevel = logLvl | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Be good if the behave of this condition not limited to capital words, means set info
and Info
works like INFO
. Currently just INFO
and TRACE
and DEBUG
work well.
Fixes #1385
Changes:
How to test this PR: