We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a2a74 commit 758f9deCopy full SHA for 758f9de
src/aiq/cli/commands/workflow/workflow_commands.py
@@ -270,6 +270,9 @@ def delete_command(workflow_name: str):
270
workflow_name (str): The name of the workflow to delete.
271
"""
272
try:
273
+ if not click.confirm(f"Are you sure you want to delete the workflow '{workflow_name}'?"):
274
+ click.echo("Workflow deletion cancelled.")
275
+ return
276
editable = get_repo_root() is not None
277
278
workflow_dir = get_workflow_path_from_name(workflow_name)
0 commit comments