1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/// `bump` subcommand name accepted by the command-line interface.
pub const CLI_BUMP: &str = "bump";
/// `publish` subcommand name accepted by the command-line interface.
pub const CLI_PUBLISH: &str = "publish";
/// `sync` subcommand name accepted by the command-line interface.
pub const CLI_SYNC: &str = "sync";
/// `-h` / `--help` flag of the command-line interface.
pub const CLI_FLAG_HELP: &str = "--help";
/// `-v` / `--version` flag of the command-line interface.
pub const CLI_FLAG_VERSION: &str = "--version";
/// `--patch` flag selecting a patch version bump.
pub const CLI_FLAG_PATCH: &str = "--patch";
/// `--minor` flag selecting a minor version bump.
pub const CLI_FLAG_MINOR: &str = "--minor";
/// `--major` flag selecting a major version bump.
pub const CLI_FLAG_MAJOR: &str = "--major";
/// `--release` flag dropping any pre-release identifier.
pub const CLI_FLAG_RELEASE: &str = "--release";
/// `--alpha` flag selecting an `alpha` pre-release bump.
pub const CLI_FLAG_ALPHA: &str = "--alpha";
/// `--beta` flag selecting a `beta` pre-release bump.
pub const CLI_FLAG_BETA: &str = "--beta";
/// `--rc` flag selecting an `rc` pre-release bump.
pub const CLI_FLAG_RC: &str = "--rc";
/// `--check` flag switching a subcommand into check-only mode.
pub const CLI_FLAG_CHECK: &str = "--check";
/// `--manifest-path` flag naming the manifest to operate on.
pub const CLI_FLAG_MANIFEST_PATH: &str = "--manifest-path";
/// `--max-retries` flag bounding publish retry attempts.
pub const CLI_FLAG_MAX_RETRIES: &str = "--max-retries";
/// `--fix` flag passed to `cargo clippy`.
pub const CLI_FLAG_FIX: &str = "--fix";
/// `--workspace` flag passed to `cargo clippy`.
pub const CLI_FLAG_WORKSPACE: &str = "--workspace";
/// `--all-targets` flag passed to `cargo clippy`.
pub const CLI_FLAG_ALL_TARGETS: &str = "--all-targets";
/// `--allow-dirty` flag passed to `cargo clippy` and `cargo publish`.
pub const CLI_FLAG_ALLOW_DIRTY: &str = "--allow-dirty";
/// `--no-verify` flag passed to `cargo publish`.
pub const CLI_FLAG_NO_VERIFY: &str = "--no-verify";