From 92fb764c7c9840a7ada92d9ab2a4cf9ceabb488a Mon Sep 17 00:00:00 2001 From: Rohan Weeden Date: Wed, 15 May 2024 08:55:41 -0800 Subject: [PATCH 1/2] Improve tea-cli help text --- tea-cli/tea_cli/main.py | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/tea-cli/tea_cli/main.py b/tea-cli/tea_cli/main.py index 611fea28..02ee976d 100644 --- a/tea-cli/tea_cli/main.py +++ b/tea-cli/tea_cli/main.py @@ -22,12 +22,25 @@ def main(args=None): def get_parser() -> argparse.ArgumentParser: parser = argparse.ArgumentParser(description="Thin Egress App Command Line Tool") parser.add_argument("-v", help="enable verbose output", action="store_true", dest="verbose") - subparsers = parser.add_subparsers(required=True, dest="command") - - parser_list = subparsers.add_parser("list") + subparsers = parser.add_subparsers( + required=True, + dest="command", + metavar="subcommand", + ) + + parser_list = subparsers.add_parser( + "list", + help="show a list of deployable versions", + ) configure_subparser(parser_list, list_versions) - parser_quickdeploy = subparsers.add_parser("quickdeploy") + parser_quickdeploy = subparsers.add_parser( + "quickdeploy", + help=( + "deploy necessary TEA resources to an account for development or " + "testing purposes. For production, use terraform or CloudFormation" + ), + ) configure_subparser(parser_quickdeploy, quick_deploy) return parser From ec103fcf8e8c1872dfa0acf62bf9d92d47272976 Mon Sep 17 00:00:00 2001 From: Rohan Weeden Date: Fri, 17 May 2024 10:04:18 -0800 Subject: [PATCH 2/2] Bump version number --- tea-cli/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tea-cli/pyproject.toml b/tea-cli/pyproject.toml index ffe39a3d..57265517 100644 --- a/tea-cli/pyproject.toml +++ b/tea-cli/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "tea-cli" -version = "0.1.0" +version = "0.1.1" description = "TEA command line tool" authors = ["Rohan Weeden "] license = "Apache-2.0"