Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Evincere/klisk/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Theklisk delete command removes a Klisk project directory from your workspace. It performs validation to ensure you’re deleting a valid Klisk project before removal.
Usage
Arguments
Project name (from workspace) or path to the project directory to delete
Options
Skip the confirmation prompt and delete immediatelyAliases:
-fDefault: FalseBehavior
Theklisk delete command:
-
Resolves the project path — If you provide a project name, it looks in
~/.klisk/projects/. Otherwise, it treats the argument as a direct path. -
Validates the project — Checks that:
- The directory exists
- It contains a
klisk.config.yamlfile (confirming it’s a Klisk project)
-
Prompts for confirmation — Unless
--forceis used, asks you to confirm the deletion - Deletes the directory — Removes the entire project directory and all its contents
Examples
Delete by project name
Delete a project from your workspace by name:Delete without confirmation
Use the--force flag to skip the confirmation prompt:
Delete by path
Delete a project at a specific path:Cancel deletion
PressN or Ctrl+C when prompted to cancel:
Error Handling
Project doesn’t exist
Not a Klisk project
If the directory exists but doesn’t have aklisk.config.yaml file:
Source Reference
Implementation:src/klisk/cli/delete.py:13-37
Related Commands
klisk create- Create a new projectklisk list- View all projects in your workspaceklisk check- Validate a project before deletion