CLI command reference
Delete a context
Delete a Hessian context.
Removes the profile from ~/.hessian/credentials and deletes the
~/.hessian/
hessian config delete-context <name> [flags]| Flag | Type | Description |
|---|---|---|
-h, --help | “ | help for delete-context |
| Flag | Type | Description |
|---|---|---|
--api_url | string | API URL (overrides the active context) (default “http://localhost:8000”) |
--config | string | config file (default is $HOME/.hessian/config.yaml) |
--debug | “ | Enable debug logging |
-H, --header | strings | Add custom header(s) to requests (format: ‘Key: Value’). Can be repeated. |
--json | “ | Output in JSON format (overrides —output) |
--profile | string | Context profile to use (overrides current_context and HESSIAN_PROFILE) |