Skip to content

feat: interactive project add/update commands#1

Open
curquiza wants to merge 6 commits into
mainfrom
feat/project-add-interactive-prompt
Open

feat: interactive project add/update commands#1
curquiza wants to merge 6 commits into
mainfrom
feat/project-add-interactive-prompt

Conversation

@curquiza
Copy link
Copy Markdown
Member

@curquiza curquiza commented May 3, 2026

Summary

  • msc project add <name> prompts interactively for URL and API key when --url is omitted
  • msc project update <name> allows updating an existing project's URL and API key (current URL shown as hint)
  • msc project list now shows [api key set] next to projects that have an API key configured
  • Empty API key input means no key is stored/key is removed

Test plan

  • msc project add myproject — verify URL and API key prompts appear
  • msc project add myproject --url http://localhost:7700 — verify only API key is prompted
  • msc project list — verify [api key set] appears only for projects with a key
  • msc project update myproject — verify current URL is shown as hint, input is empty
  • Leave API key empty on update — verify key is removed

🤖 Generated with Claude Code

curquiza and others added 6 commits May 3, 2026 12:55
When --url is omitted, prompt the user for the URL and API key
interactively. An empty API key means no key is stored.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Display [api key set] next to projects that have an api key configured,
without revealing the key value.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Interactive command to update an existing project's URL and API key.
Current URL is shown as hint but input starts empty. Empty API key
removes the existing key.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@curquiza curquiza requested a review from qdequele May 3, 2026 11:19
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