← Back to issue list

Support argument list passthrough

View original Github issue

Metadata

Project
craft-application
Number
#327
Type
issue
State
open
Author
cmatsuoka
Labels
Type: Enhancement
Created
Updated
Closed
—

Current evaluation

Raw CLI argument passthrough remains unimplemented; this maintainer-labeled enhancement supports downstream spread commands and consistent single- versus double-dash handling.

Suggested action: keep open

Reason: The maintainer-filed issue is labeled Type: Enhancement and identifies a concrete requirement from charmcraft#1660: pass a raw command line to spread. Current TestCommand parsing only collects `test_expressions` with `nargs="*"`, while repository searches found no general remainder, unknown-argument, or passthrough handling and no resolving commit. Implementation likely requires coordinated craft-cli parser semantics and careful dash-option compatibility.

Evaluated by: mr-cal-bot

Impact: 52 Quick Win: 15 Complexity: 62 Confidence: 91 Actionability: 74

Issue body

### What needs to get done Change command line argument parsing to allow raw arguments to be collected instead of parsed. Inconsistencies related to double dash vs single dash in long options should be addressed. ### Why it needs to get done The `test` command in Charmcraft (https://github.com/canonical/charmcraft/pull/1660) passes the raw command line to spread.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 52
Quick Win: 15
Complexity: 62
Confidence: 91
Actionability: 74
keep open Raw CLI argument passthrough remains unimplemented; this maintainer-labeled enhancement supports downstream spread commands and consistent single- versus double-dash handling.
qwen/qwen3.6-35b-a3b
Impact: 35
Quick Win: 4
Complexity: 65
Confidence: 65
Actionability: 35
keep open Enhancement request to support raw argument passthrough in CLI parsing for use cases like Charmcraft's test command. Open 874 days with Jira ticket CRAFT-2860 created but no implementation.
qwen/qwen3.8-27b
Impact: 50
Quick Win: 30
Staleness: 55
Complexity: 40
Confidence: 70
Support Request: 10
keep open Enhancement to allow raw CLI argument passthrough to spread in the test command, addressing double-dash vs single-dash inconsistencies. Open since 2023, no implementation found in current code.
qwen/qwen3.6-35b-a3b
Staleness: 65
Complexity: 40
Confidence: 70
Support Request: 10
needs triage Enhancement request to modify CLI argument parsing for raw passthrough and fix dash inconsistencies. Currently inactive for over eight months with only an automated Jira sync comment and no maintainer assessment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 40
Confidence: 65
Support Request: 5
needs triage Feature request to modify CLI argument parsing to support raw argument passthrough and fix dash inconsistencies. Open for 800 days with only an automated Jira sync comment and no maintainer assessment.

Update history

No update history recorded yet.

Related work

  • Related To: charmcraft#1660 (confidence 98%)

    The issue explicitly cites this Charmcraft PR as the downstream test command that passes raw arguments to spread.

Related issues

No related issues found above the similarity threshold.