Skip to content

feat: add --config flag support to the call command#310

Closed
AutomateIP wants to merge 1 commit intoitential:develfrom
AutomateIP:feat/call_with_config_file
Closed

feat: add --config flag support to the call command#310
AutomateIP wants to merge 1 commit intoitential:develfrom
AutomateIP:feat/call_with_config_file

Conversation

@AutomateIP
Copy link
Contributor

Add --config to the call CLI subcommand so configuration files can be specified directly (e.g., itential-mcp call get_health --config file.conf). This brings parity with the run and test commands which already support it.

Also fix a pre-existing argparse issue where --config placed before the subcommand (e.g., itential-mcp --config file.conf call ...) was silently overwritten by the subparser default. The parser now pre-captures --config from raw args and restores it if the subparser clobbered the value.

Add --config to the call CLI subcommand so configuration files can be
specified directly (e.g., itential-mcp call get_health --config file.conf).
This brings parity with the run and test commands which already support it.

Also fix a pre-existing argparse issue where --config placed before the
subcommand (e.g., itential-mcp --config file.conf call ...) was silently
overwritten by the subparser default. The parser now pre-captures --config
from raw args and restores it if the subparser clobbered the value.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AutomateIP AutomateIP requested a review from a team as a code owner February 13, 2026 17:46
@privateip
Copy link
Member

Im going to close this in lieu of #313 that also addresses this issue.

@privateip privateip closed this Feb 14, 2026
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.

2 participants