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

add init as alias for configure #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions doctr/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ def get_parser():
deploy_parser.add_argument('--no-push', dest='push', action='store_false',
default=True, help="Run all the steps except the last push step."
"Useful for debugging")


configure_parser = subcommand.add_parser('configure', help="Configure doctr. This command should be run locally (not on Travis).")

configure_parser = subcommand.add_parser('configure', aliases=['init'],
help="Configure doctr. This command should be run locally (not on Travis).")
configure_parser.set_defaults(func=configure)
configure_parser.add_argument('--force', action='store_true', help="""Run the configure command even
if we appear to be on Travis.""")
Expand Down