From b0bb05915796e1eceef0f9d98f66da7b2f0f0ff9 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Mon, 27 Apr 2020 12:01:13 -0500 Subject: [PATCH] Add command explanations --- acm.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/acm.py b/acm.py index 8b2a1cd..9b27061 100755 --- a/acm.py +++ b/acm.py @@ -268,6 +268,9 @@ def cli(ctx, debug, config, stdin, remove_prefix, add_prefix): @cli.command(name="config") @click.pass_context def print_config(ctx): + """ + Print the configuration + """ print(json.dumps(ctx.obj['CONFIG'], indent=2, sort_keys=True)) @@ -283,6 +286,9 @@ def print_config(ctx): @click.option('--print-identity/--no-print-identity', default=False) @click.pass_context def list_files(ctx, context, sha256sum, suffix, print_identity): + """ + List all file object in a bucket + """ ctx.obj['CONTEXT'] = context s3_config = ctx.obj['CONFIG']['s3'] s3_bucket = ctx.obj['CONTEXT'] @@ -604,6 +610,9 @@ def clean_files(ctx, context, context_data, files): @click.argument('files', nargs=-1) @click.pass_context def compress_assets(ctx, profile, content, destination, print_input_and_identity, files): + """ + Compress the request files and store them in a storage bucket. + """ profiles = ctx.obj['CONFIG']['profiles'] if profile not in profiles: