Skip to content

fix: support --args flag (plural) in config add#93

Open
Jah-yee wants to merge 2 commits intosteipete:mainfrom
Jah-yee:main
Open

fix: support --args flag (plural) in config add#93
Jah-yee wants to merge 2 commits intosteipete:mainfrom
Jah-yee:main

Conversation

@Jah-yee
Copy link

@Jah-yee Jah-yee commented Mar 3, 2026

Issue #90: config add silently drops --args flags

The CLI only handled --arg (singular) but users may pass --args (plural).
Now both --arg and --args are accepted.

Jah-yee added 2 commits March 3, 2026 12:46
Issue steipete#90: mcporter config add silently drops --args flags

The CLI only handled --arg (singular) but users may pass --args (plural).
Now both --arg and --args are accepted.
Issue steipete#89: When wrapped.json() returns null, fallback to JSON.stringify(raw)
instead of util.inspect which produces invalid JSON.

This ensures --output json always outputs valid JSON that can be parsed.
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