Skip to content

Commit

Permalink
Merge pull request #26 from unfor19/feature-package-name
Browse files Browse the repository at this point in the history
fixed entrypoint
  • Loading branch information
unfor19 authored Jan 30, 2021
2 parents faa908b + 29975e8 commit 7e37511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ RUN find . -type f -name *.whl -exec pip install --user {} \; -exec rm {} \; &&
# CMD python -m ${APP_NAME}

# Use ENTRYPOINT instead CMD to force the container to start the application
ENTRYPOINT python -m $APP_NAME
ENTRYPOINT ["ghs"]
### --------------------------------------------------------------------
2 changes: 1 addition & 1 deletion src/githubsecrets/ghs.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_command(self, ctx, cmd_name):
# @click.group()
@ click.command(cls=AliasedGroup)
@ pass_config
@ click.option('--ci', '-ci', is_flag=True, help="Use this flag to avoid deletion confirmation prompts") # noqa: E501
@ click.option('--ci', '-ci', is_flag=True, help="Use this flag to skip confirmation prompts") # noqa: E501
def cli(config, ci):
"""All commands can run without providing options, and then you'll be prompted to insert values.\n
Secrets' values and Personal-Access-Tokens are hidden when prompted""" # noqa: E501
Expand Down

0 comments on commit 7e37511

Please sign in to comment.