Skip to content

unleashed --current does not work #28

@martymcenroe

Description

@martymcenroe

Bug

Running unleashed --current (or any variant) does not work as expected.

Context

The unleashed() shell function in .bash_profile passes unknown flags through to claude.cmd via parse_known_args. If --current is a Claude Code flag, it should be forwarded. If it's meant to be an unleashed feature (e.g., "use the latest/current version"), it doesn't exist yet.

To Investigate

  1. Is --current a valid Claude Code CLI flag? Check claude --help
  2. If yes — does the arg passthrough in c-18/c-20 forward it correctly?
  3. If no — should unleashed implement --current as its own feature?

Reproduction

cd ~/Projects/SomeProject
unleashed --current

Environment

  • Unleashed: v18 (production), v20 (test)
  • Shell: Git Bash on Windows (MINGW64)
  • Claude Code: latest via npm

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