canonical / canonical/multipass

Review CLI exit codes

Open
#347 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 2h
Merged PRs (30d)
43

Description

I would like to see a toggle to verify if an instance exists
```
multipass info --quiet
```
returning 1 or 0 depending on existence or not.

Alternatively, this should work without failure:
```
multipass launch
multipass launch
```
Or add an `--exit-ok` type flag.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the `multipass info --quiet ` and repeated `multipass launch ` commands determine their exit status. Review the comment thread for the unresolved choice between existence checking, idempotent launch, and an `--exit-ok` flag. Done means one documented behavior is implemented and its exit codes are verified for existing and missing instances.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.