Skip to content

ux: give more verbose message for CLI typos#1182

Merged
jmartin-tech merged 1 commit intoNVIDIA:mainfrom
leondz:update/plugin_failure_message
Apr 25, 2025
Merged

ux: give more verbose message for CLI typos#1182
jmartin-tech merged 1 commit intoNVIDIA:mainfrom
leondz:update/plugin_failure_message

Conversation

@leondz
Copy link
Collaborator

@leondz leondz commented Apr 25, 2025

Mistyping something like a generator name gave a pretty cryptic message

Make this clear, suggest an action, and follow our CLI design language

Verification

List the steps needed to make sure this thing works

  • garak -m teset.Repeat -p phrasing,grandma - the output should make it clear that (a) a generator was the offending item (b) what the string was that led to the failure (c) there are a coupla of next steps

@leondz leondz added cli Command-line interface functions ux Interface & interaction improvements labels Apr 25, 2025
Copy link
Collaborator

@jmartin-tech jmartin-tech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leondz's love for emoji knows no bounds :-)

@jmartin-tech jmartin-tech merged commit 86dd155 into NVIDIA:main Apr 25, 2025
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cli Command-line interface functions ux Interface & interaction improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants