pub enum Commands {
Show 16 variants
Release {Show 25 fields
crate_names: Vec<String>,
all: bool,
force: bool,
snapshot: bool,
nightly: bool,
dry_run: bool,
clean: bool,
skip: Vec<String>,
token: Option<String>,
timeout: String,
parallelism: Option<usize>,
auto_snapshot: bool,
single_target: bool,
release_notes: Option<PathBuf>,
workspace: Option<String>,
draft: bool,
release_header: Option<PathBuf>,
release_header_tmpl: Option<PathBuf>,
release_footer: Option<PathBuf>,
release_footer_tmpl: Option<PathBuf>,
release_notes_tmpl: Option<PathBuf>,
fail_fast: bool,
split: bool,
merge: bool,
prepare: bool,
},
Build {
crate_names: Vec<String>,
timeout: String,
parallelism: Option<usize>,
single_target: bool,
workspace: Option<String>,
output: Option<PathBuf>,
skip: Vec<String>,
},
Check {
workspace: Option<String>,
},
Init,
Changelog {
crate_name: Option<String>,
},
Completion {
shell: Shell,
},
Healthcheck,
Man,
Jsonschema,
ResolveTag {
tag: String,
json: bool,
},
Targets {
json: bool,
crate_names: Vec<String>,
},
Tag {
dry_run: bool,
custom_tag: Option<String>,
default_bump: Option<String>,
crate_name: Option<String>,
},
Continue {
merge: bool,
dist: Option<PathBuf>,
dry_run: bool,
skip: Vec<String>,
token: Option<String>,
},
Publish {
dry_run: bool,
token: Option<String>,
dist: Option<PathBuf>,
},
Bump {Show 13 fields
level_or_version: Option<String>,
package: Vec<String>,
workspace: bool,
exclude: Vec<String>,
pre: Option<String>,
exact: bool,
allow_dirty: bool,
yes: bool,
dry_run: bool,
commit: bool,
sign: bool,
commit_message: Option<String>,
output: String,
},
Announce {
dry_run: bool,
dist: Option<PathBuf>,
token: Option<String>,
skip: Vec<String>,
},
}Variants§
Release
Run the full release pipeline
Fields
Build
Build binaries only (always runs in snapshot mode)
Fields
Check
Validate configuration
Init
Generate starter config
Changelog
Generate changelog only
Completion
Generate shell completions
Healthcheck
Check availability of required external tools
Man
Generate man pages to stdout
Jsonschema
Output JSON Schema for .anodizer.yaml
ResolveTag
Resolve a git tag to its matching crate in the config
Targets
Emit the configured build targets as a GitHub Actions matrix.
Derives {os, target, artifact} entries from .anodizer.yaml. Used by
tj-smith47/anodizer-action’s split-matrix output to feed a
strategy.matrix dynamically (via fromJson).
Tag
Auto-tag based on commit message directives
Fields
Continue
Resume a release after a transient failure or after --prepare/--split
With --merge: load every per-target context.json under dist/ (one
per split-build worker) and run the full post-build pipeline
(sign / checksum / sbom / release / publish / announce).
Without --merge: load existing dist/ artifacts and run the
publish-only pipeline (release / publish / blob). Use this to resume
a single-host release that stalled during publish (e.g. expired
token, transient 5xx) without rebuilding.
Publish
Run only the publish stages (release, publish, blob) from a completed dist/
Bump
Bump crate versions (Conventional Commits → semver level)
Infers the per-crate level from commits since each crate’s last tag
when no positional argument is given. patch|minor|major, an explicit
version, or release (strip prerelease) are also accepted.
Fields
Announce
Run only the announce stage from a completed dist/
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand