← Back to issue list

snapcraft --output option not available without "snap" sub-command

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1856344
Type
issue
State
closed
Author
~anonymouse67
Labels
Created
Updated
Closed

Current evaluation

Closed as running snapcraft without a subcommand has been deprecated. The --output flag remains restricted to the snap subcommand. No fix was implemented since the default behavior is being phased out.

Suggested action:

No scores available.

Issue body

Since snapcraft seems to default to running the "snap" sub-command, it should also support options from "snap" such as --output. For example: ``` $ snapcraft --output=file.snap Usage: snapcraft [OPTIONS] COMMAND [ARGS]... Try "snapcraft -h" for help. Error: no such option: --output ``` This is with candidate: ``` $ snapcraft version snapcraft, version 3.8 $ snap info snapcraft | grep installed installed: 3.8 (3440) 60MB classic ``` But I also tried edge (3.9.2+git140.g2252dd78) with the same effect

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed as running snapcraft without a subcommand has been deprecated. The --output flag remains restricted to the snap subcommand. No fix was implemented since the default behavior is being phased out.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 90
Support Request: 30
close stale Reports missing global --output flag in snapcraft CLI when defaulting to the snap subcommand. Issue is over six years old with no maintainer interaction or updates.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 90
Support Request: 10
close stale Reports missing --output flag at top-level snapcraft command. Unaddressed for over 6 years with no maintainer interaction or activity. Likely irrelevant to current versions.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 90
Support Request: 20
close stale Reports missing --output flag support when used as a global option instead of under the snap subcommand. Unlabelled, zero comments, inactive for ~6.5 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 15
Confidence: 90
Support Request: 10
close stale Reporter notes snapcraft 3.x lacks a top-level --output flag, expecting it to pass through to the default snap subcommand. Issue is over 6 years old with no maintainer response and targets obsolete versions.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1542479 Support an output option for the snap command snapcraft (launchpad) closed Closed without implementation due to lack of activity and no associated pull requests. The --output option for the snapcraft snap command remains unimplemented.
79%
#1834871 snapcraft help doesn't show --shell-before, or --shell, or --destructive-mode options snapcraft (launchpad) closed Running snapcraft without a subcommand was deprecated, closing this report. The maintainer rejected the request to update the help output since the underlying command is no longer supported.
73%