From c80e800b8032455ed54e30e936dc2f3842920afe Mon Sep 17 00:00:00 2001 From: Gil Forsyth Date: Tue, 8 Nov 2016 10:22:56 -0500 Subject: [PATCH] add `init` as alias for `configure` resolves #113 --- doctr/__main__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doctr/__main__.py b/doctr/__main__.py index a50c3236..0681ba0a 100644 --- a/doctr/__main__.py +++ b/doctr/__main__.py @@ -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.""")