Skip to content

Commit

Permalink
export should have the workflow as subcommand name
Browse files Browse the repository at this point in the history
  • Loading branch information
ZihengSun committed Oct 16, 2024
1 parent 2a770cf commit e9b7deb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygeoweaver/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ def export_command():
pass


@export_command.command()
@export_command.command("workflow")
@click.argument('workflow_id', type=str)
@click.option('--mode', default=4, type=int, help='Exportation mode options: 1 - workflow only, 2 - workflow with process code, 3 - workflow with process code and only good history, 4 - workflow with process code and all the history. Default option is 4.')
@click.option('--mode', default=4, type=int, help='Exportation mode options: \n1 - workflow only, 2 - workflow with process code, 3 - workflow with process code and only good history, 4 - workflow with process code and all the history. Default option is 4.')
@click.argument('target_file_path', type=click.Path())
@click.option('--unzip', is_flag=True, help='Unzip the exported file.')
@click.option('--unzip-directory-name', help='Specify the directory name when unzipping.')
Expand Down

0 comments on commit e9b7deb

Please sign in to comment.