Skip to content

Commit 5fbba84

Browse files
committed
feat:improve behavior
1 parent 847d637 commit 5fbba84

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

gha_cli/cli.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,13 @@ def cli(ctx, repo: str, github_token: Optional[str], compare_exact_versions: boo
201201

202202

203203
@cli.command(help='Show actions required updates in repository workflows')
204-
@click.option('-u', '--update', is_flag=True, default=False, help='Do not update, list only')
205-
@click.option('-commit-msg', default='Update github-actions',
206-
help='Commit msg, only relevant when remote repo')
204+
@click.option(
205+
'-u', '--update', is_flag=True, default=False,
206+
help='Update actions in workflows (For remote repos: make changes and commit, for local repos: update files',)
207+
@click.option(
208+
'-commit-msg',
209+
default='chore(ci):update actions', type=str, show_default=True,
210+
help='Commit msg, only relevant when remote repo')
207211
@click.pass_context
208212
def update_actions(ctx, update: bool, commit_msg: str):
209213
gh, repo = ctx.obj['gh'], ctx.obj['repo']

0 commit comments

Comments
 (0)