Skip to content

Commit

Permalink
fix: short command
Browse files Browse the repository at this point in the history
  • Loading branch information
l-loic committed May 3, 2024
1 parent 894785a commit ea6a232
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ def __init__(self, domain: IAssetDomain):
context_settings={"help_option_names": ["-h", "--help"]},
)

self.app.command("create-asset")(self.create_asset)
self.app.command("delete-asset")(self.delete_asset)
self.app.command("get-asset")(self.get_asset)
self.app.command("update-asset")(self.update_asset)
self.app.command("create")(self.create_asset)
self.app.command("delete")(self.delete_asset)
self.app.command("get")(self.get_asset)
self.app.command("update")(self.update_asset)

def create_asset(self,
workspace_id:str = typer.Option(None, "--workspace-id", "-w", help="ID of the workspace"),
Expand Down

0 comments on commit ea6a232

Please sign in to comment.