Skip to content

Commit

Permalink
feat: Make viur package install ... more handy (#189)
Browse files Browse the repository at this point in the history
Every ViUR project I know stores the packages in the default targt.
Therefore i suggest to change the argument order to make the command
shorter because you can now ommit the profile, but specify version.
  • Loading branch information
sveneberth authored Nov 4, 2024
1 parent 4a37ff5 commit 781d8bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viur_cli/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def get_version_info(software: str, version: str) -> tuple[str, str]:
@cli.command()
@click.argument('operation', type=click.Choice(['update', 'install']))
@click.argument('component', type=click.Choice(['vi', 'admin', 'scriptor', 'all']))
@click.argument('profile', default='default')
@click.argument("version", default="latest")
@click.argument('profile', default='default')
def package(operation, component, profile, version):
"""
Performs installements and updates of ViUR Ecosystem packages
Expand Down

0 comments on commit 781d8bb

Please sign in to comment.