8000 Add CLI version command prefix · localstack/localstack@2c3492f · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2c3492f

Browse files
committed
Add CLI version command prefix
1 parent defeee1 commit 2c3492f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

localstack-core/localstack/cli/localstack.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,13 @@ def _setup_cli_debug() -> None:
155155
"show_default": True,
156156
},
157157
)
158-
@click.version_option(VERSION, "--version", "-v", message="%(version)s")
158+
@click.version_option(
159+
VERSION,
160+
"--version",
161+
"-v",
162+
message="LocalStack CLI %(version)s",
163+
help="Show the version of the LocalStack CLI and exit",
164+
)
159165
@click.option("-d", "--debug", is_flag=True, help="Enable CLI debugging mode")
160166
@click.option("-p", "--profile", type=str, help="Set the configuration profile")
161167
def localstack(debug, profile) -> None:

0 commit comments

Comments
 (0)
0