feat: interactive project add/update commands#1
Merged
Conversation
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>
qdequele
approved these changes
May 18, 2026
qdequele
left a comment
Member
There was a problem hiding this comment.
Tested locally, works for me, I saw some code optimization possible like in src/commands/project.rs:101, Config::load() is called twice in the update path (once at line 84, again at 101). That is not that important but a bit redundant.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
msc project add <name>prompts interactively for URL and API key when--urlis omittedmsc project update <name>allows updating an existing project's URL and API key (current URL shown as hint)msc project listnow shows[api key set]next to projects that have an API key configuredTest plan
msc project add myproject— verify URL and API key prompts appearmsc project add myproject --url http://localhost:7700— verify only API key is promptedmsc project list— verify[api key set]appears only for projects with a keymsc project update myproject— verify current URL is shown as hint, input is empty🤖 Generated with Claude Code