Skip to content
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

Help command #3

Open
danieleds opened this issue Apr 3, 2023 · 1 comment
Open

Help command #3

danieleds opened this issue Apr 3, 2023 · 1 comment

Comments

@danieleds
Copy link

Great work!

Could we add a detailed help when the script is invoked with --help?

In these cases, usually that would ignore any env vars (it should work even if the credentials are not set) and return detailed information about the available commands.

@danieleds danieleds changed the title Help Help command Apr 3, 2023
@shane-signalwire
Copy link
Contributor

This was implemented originally, but the check for ENV vars was happening before in logic. I pushed a fix last week that resolved that, and now the --help and --version should work as intended.

The help menu does need some additional documentation added, so I'm leaving this open for now while I'm working on filling that out.

(swsh) ➜  Documents swsh --help
SWiSH Help Menu:
================
SignalWire interactive SHell
Cross platform command line utility and shell for administering a Space or Spaces in Signalwire

-h | --help       view this help menu
-v | --version    SWiSH version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants