pub enum Commands {
Show 16 variants
Release {Show 41 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,
targets: Option<String>,
release_notes: Option<PathBuf>,
workspace: Option<String>,
preflight: bool,
no_preflight: bool,
strict_preflight: bool,
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,
no_gate_submitter: bool,
rollback: Option<String>,
simulate_failure: Vec<String>,
rollback_only: bool,
from_run: Option<String>,
allow_rerun: bool,
allow_nondeterministic: Vec<String>,
summary_json: Option<PathBuf>,
split: bool,
merge: bool,
publish_only: bool,
prepare: bool,
resume_release: bool,
replace_existing: bool,
no_post_publish_poll: bool,
},
Build {
crate_names: Vec<String>,
timeout: String,
parallelism: Option<usize>,
single_target: bool,
workspace: Option<String>,
output: Option<PathBuf>,
skip: Vec<String>,
},
Check {
cmd: CheckCmd,
},
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 and run determinism checks
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.
Consumed by 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 subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more