Present validation errors consistently in the CLI
This commit is contained in:
@@ -30,8 +30,9 @@ publish a tag.
|
||||
|
||||
`check` writes errors and diagnostics to standard error. It returns status 0
|
||||
after local validation, 1 after a candidate validation failure, and 2 for usage,
|
||||
profile, or invalid-version errors. Unsupported argument sequences print usage
|
||||
to standard error.
|
||||
profile, or invalid-version errors. Shared validation failures identify the
|
||||
failed check and retain useful findings and cause context in one diagnostic.
|
||||
Unsupported argument sequences print usage to standard error.
|
||||
|
||||
Publish a source tag:
|
||||
|
||||
@@ -49,6 +50,8 @@ progress and failed publication state, including the captured publication
|
||||
endpoint for recovery, are written to standard error. A signal
|
||||
cancels the active operation; if it arrives during a push, the library's
|
||||
bounded reconciliation determines whether the exact tag was accepted.
|
||||
Shared validation failures use the same check and finding presentation as
|
||||
`check`, alongside publication state and phase.
|
||||
|
||||
The command returns status 0 for confirmed publication, 1 for a known
|
||||
publication failure or conflict, 2 for usage, profile, or invalid-version
|
||||
|
||||
Reference in New Issue
Block a user