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

Command-line subcommands don't support --help #404

Open
tuukkamustonen opened this issue Oct 18, 2016 · 4 comments
Open

Command-line subcommands don't support --help #404

tuukkamustonen opened this issue Oct 18, 2016 · 4 comments

Comments

@tuukkamustonen
Copy link

Neither zappa deploy --help nor zappa --help deploy print out help for that command in specific.

@skarale25
Copy link

skarale25 commented Oct 20, 2016

@tuukkamustonen When I run same command, I get following output

$ zappa deploy --help
usage: zappa [-h] [-n NUM_ROLLBACK] [-s SETTINGS_FILE] [-a APP_FUNCTION] [-v]
             [-y] [--remove-logs] [--raw] [--no-cleanup] [--all]
             [U [U ...]]

Zappa - Deploy Python applications to AWS Lambda and API Gateway.

positional arguments:
  U                     Please supply a command to execute. Can be one of:
                        certify, deploy, init, invoke, manage, rollback,
                        schedule, status, tail, undeploy, unschedule, update

optional arguments:
  -h, --help            show this help message and exit
  -n NUM_ROLLBACK, --num-rollback NUM_ROLLBACK
                        The number of versions to rollback.
  -s SETTINGS_FILE, --settings_file SETTINGS_FILE
                        The path to a zappa settings file.
  -a APP_FUNCTION, --app_function APP_FUNCTION
                        The WSGI application function.
  -v, --version         Print the zappa version
  -y, --yes             Auto confirm yes
  --remove-logs         Removes log groups of api gateway and lambda task
                        during the undeployment.
  --raw                 When invoking remotely, invoke this python as a
                        string, not as a modular path.
  --no-cleanup          Don't remove certificate files from /tmp during
                        certify. Dangerous.
  --all                 Execute this command for all of our defined Zappa
                        environments.

Do you get same output? Correct me if I am getting wrong.

@tuukkamustonen
Copy link
Author

@skarale25 Yeah, that's the output (btw. you should format your paste).

@Miserlou
Copy link
Owner

@skarale25 - he wants specific help for each sub command.

@rozuur
Copy link

rozuur commented Oct 8, 2017

Is this open? Can I work on this?

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

No branches or pull requests

5 participants
@tuukkamustonen @Miserlou @rozuur @skarale25 and others