Skip to content

feat: add login command, alphabetize help, remove workflows Beta label#218

Merged
jeff-schnitter merged 2 commits into
mainfrom
jeff/cli-login
Jul 7, 2026
Merged

feat: add login command, alphabetize help, remove workflows Beta label#218
jeff-schnitter merged 2 commits into
mainfrom
jeff/cli-login

Conversation

@jeff-schnitter

Copy link
Copy Markdown
Collaborator

Summary

  • Adds cortex login command — prompts for workspace name and base URL, opens browser to the Cortex personal access tokens page (prefilled with workspace), validates the API key, and saves credentials to ~/.cortex/config
  • Alphabetizes all commands in cortex --help output (including login and version in their correct positions)
  • Removes "(Beta)" label from the workflows command — it is GA

Test plan

  • cortex login with default workspace — browser opens, key validates, config written
  • cortex login with custom workspace name — -t <workspace> shown in final message
  • cortex login --no-open-browser — prints URL instead of opening browser
  • cortex login --force — overwrites existing config without prompting
  • cortex -h — all commands appear in alphabetical order
  • cortex workflows --help — no Beta label

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jeff-schnitter
jeff-schnitter requested a review from Cantaley as a code owner July 7, 2026 16:11
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jeff-schnitter
jeff-schnitter merged commit e1e4fdc into main Jul 7, 2026
3 of 4 checks passed
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

Successfully merging this pull request may close these issues.

1 participant