Skip to content

Commit

Permalink
Merge pull request #67 from adfinis/jlf/fix-cli-passthrough
Browse files Browse the repository at this point in the history
fix: cli passthrough
  • Loading branch information
Jean-Louis Fuchs authored Mar 5, 2024
2 parents f4b7e3f + a3ea54a commit dc6f461
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyaptly/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ def cli(debug: bool):


@cli.command(help="run legacy command parser")
def legacy():
@click.argument("passthrough", nargs=-1)
def legacy(passthrough):
"""Run legacy pyaptly cli."""
from . import main

main.main()
main.main(argv=passthrough)


@cli.command(help="convert yaml- to toml-comfig")
Expand Down

0 comments on commit dc6f461

Please sign in to comment.