Skip to content

Commit

Permalink
Removed @click.pass_context (#219)
Browse files Browse the repository at this point in the history
The context was not being used and was removed however it was
still being passed to the command. This cause an error when
starting ksm in shell mode.

ksm had a problem: shell_command() takes 0 positional arguments but 1 was given

Remove the arguments being passed.
  • Loading branch information
jsupun authored Feb 3, 2022
1 parent 0d0b227 commit 720add4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,6 @@ def version_command(ctx):
cls=HelpColorsCommand,
help_options_color='blue'
)
@click.pass_context
def shell_command():
"""Run KSM in a shell"""

Expand Down
2 changes: 1 addition & 1 deletion integration/keeper_secrets_manager_cli/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Version set in the keeper_secrets_manager_cli.version file.
setup(
name="keeper-secrets-manager-cli",
version="1.0.5",
version="1.0.6",
description="Command line tool for Keeper Secrets Manager",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 720add4

Please sign in to comment.