Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help/error text update for add task. #87

Open
larslilja opened this issue Mar 5, 2025 · 0 comments
Open

Help/error text update for add task. #87

larslilja opened this issue Mar 5, 2025 · 0 comments
Milestone

Comments

@larslilja
Copy link
Contributor

larslilja commented Mar 5, 2025

Description

When i am doing csdwan add 1 i would love that the error text shows the device-types that i can apply.

Please provide a description of the problem.

Expected Behavior

(venv) sjc24-tme@linux-sjc24-jump:~$ csdwan add 1 
                                                                                                                                                                                                                                                                               
 Usage: csdwan add [OPTIONS] <number-of-devices> <device-type> <software-version>                                                                                                                                                                                              
                                                                                                                                                                                                                                                                               
 Try 'csdwan add -h' for help                                                                                                                                                                                                                                                  
╭─ Error ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Missing argument '<device-type>'.     (e.g. validator, controller, edge, sdrouting)                                                                                                                                                                                                                                      │
╰─────────────────────────────────────────

Please describe what you expected would happen.

Actual Behavior

(venv) sjc24-tme@linux-sjc24-jump:~$ csdwan add 1 
                                                                                                                                                                                                                                                                               
 Usage: csdwan add [OPTIONS] <number-of-devices> <device-type> <software-version>                                                                                                                                                                                              
                                                                                                                                                                                                                                                                               
 Try 'csdwan add -h' for help                                                                                                                                                                                                                                                  
╭─ Error ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Missing argument '<device-type>'.                                                                                                                                                                                                                                           │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
                                                        

Please describe what happened instead.

Affected Version

2.0.16Beta

Please provide the version number where this issue was encountered.

@larslilja larslilja added this to the v2.0.16 milestone Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant