Skip to content

Bug: Incorrect login command recommended in CLI unauthorized error message #62

Description

@Tanishkkkkk

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

  1. Log out or delete the local token.
  2. Run any authenticated CLI command (e.g. clutch lang).
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions