← 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

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.

Suggested action: keep open

Reason: The issue was filed by a maintainer (cmatsuoka) with a clear scope: change argument parsing to collect raw arguments instead of parsed ones, and fix double-dash vs single-dash inconsistencies. The current TestCommand in lifecycle.py still only accepts test_expressions as a positional nargs='*' argument with no raw passthrough mechanism. The referenced Charmcraft PR (#1660) passes raw command line to spread, confirming this is still needed. No implementation found in recent commits, and the issue remains relevant to the test command's functionality.

Impact: 50 Quick Win: 30.0 Staleness: 55 Complexity: 40 Confidence: 70 Support Request: 10

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
qwen/qwen3.8-27b
Impact: 50
Quick Win: 30.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 40
Confidence: 70
Support Request: 10
needs triage Enhance CLI parsing to pass raw arguments and fix double versus single dash inconsistencies in long options. Open, inactive for over six months with only an automated Jira sync, awaiting implementation.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/charmcraft#1660 (confidence 80%)

    Referenced in the issue body as the motivation - Charmcraft's test command passes raw command line to spread, which requires this passthrough support in craft-application.

Related issues

No related issues found above the similarity threshold.