Summary
When a user runs a command without being authenticated, the CLI prompts them to run clutch auth login, which is an invalid command. The correct command is clutch login.
Steps to Reproduce
- Log out or delete the local token.
- Run any authenticated CLI command (e.g.
clutch lang).
- Observe the output:
❌ You are not logged in. Run: clutch auth login.
Expected vs Actual
- Expected: The CLI recommends the correct command:
clutch login.
- Actual: The CLI recommends the non-existent command
clutch auth login.
Screenshot
No screenshot available (CLI user help string bug).
Suggested Fix
Update the print statement in cli/clutch_cli/api.py to recommend clutch login.
Summary
When a user runs a command without being authenticated, the CLI prompts them to run
clutch auth login, which is an invalid command. The correct command isclutch login.Steps to Reproduce
clutch lang).❌ You are not logged in. Run: clutch auth login.Expected vs Actual
clutch login.clutch auth login.Screenshot
No screenshot available (CLI user help string bug).
Suggested Fix
Update the print statement in
cli/clutch_cli/api.pyto recommendclutch login.