Skip to content

command like feedback on incorrect syntax is not super helpful #374

@walterheck

Description

@walterheck

when I issue commands with arguments in the wrong order, the cli help is not clear enough on what I am doing wrong

walterheck in ~/Source/helixiora/internal/swamp-test
> swamp model hetzner-server method getSystemInfo

Usage:   swamp model                   
Version: 20260217.201029.0-sha.67f29849

Description:

  Manage models

Options:

  -h, --help                  - Show this help.                                            
  --json                      - Output in JSON format (non-interactive)                    
  --log-level        <level>  - Set log level (trace, debug, info, warning, error, fatal)  
  -q, --quiet                 - Suppress non-essential output                              
  -v, --verbose               - Show detailed output                                       
  --no-telemetry              - Disable telemetry for this invocation                      
  --show-properties           - Show structured properties in log output                   
  --no-color                  - Disable colored output                                     

Commands:

  create    <type> <name>       - Create a new model definition                 
  delete    <model_id_or_name>  - Delete a model and all related artifacts      
  edit      [model_id_or_name]  - Edit a model definition file                  
  evaluate  [model_id_or_name]  - Evaluate expressions in model definitions     
  get       <model_id_or_name>  - Show details of a model definition            
  search    [query]             - Search for model definitions                  
  validate  [model_id_or_name]  - Validate a model definition against its schema
  method                        - Execute model methods                         
  output                        - Manage model outputs                          
  type                          - Inspect model types                           

  error: Unknown command "hetzner-server". Did you mean command "create"?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestexternalAn issue raised by an external contributor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions