pub struct StageArgs {
pub action: Option<StageAction>,
pub profile: ProfileFlags,
pub target: Utf8PathBuf,
pub nix_packaging: bool,
pub reporting_policy: bool,
pub scorecard: bool,
pub code_scanning: Option<String>,
pub output: Option<Utf8PathBuf>,
pub json: bool,
}Expand description
Write the candidate this binary would land in a target into a disposable stage, beside the knowledge that explains it.
Reads the target and writes nothing inside it. The stage holds every
proposed destination under artifacts/, the changelog, guidance,
method, bindings, runbooks, forge notes, and setup skill under
reference/, and one explanatory stage.json. Production landing
never reads a stage; rk stage clean <path> removes one.
Fields§
§action: Option<StageAction>The one companion: remove a stage.
profile: ProfileFlagsThe project profile and the Git workflow the candidate renders under.
target: Utf8PathBufThe repository the candidate is computed for; read, never written.
nix_packaging: boolStage the Nix capability too.
reporting_policy: boolStage the reporting policy too.
scorecard: boolStage the Scorecard capability too.
code_scanning: Option<String>Stage the code scanning capability under this provider: codeql or semgrep.
output: Option<Utf8PathBuf>The exact directory to stage into; it must be absent or empty.
Without it, a target and version directory below RK_STAGE_ROOT,
else below the private state root.
json: boolEmit one JSON object on stdout instead of the human report.
Trait Implementations§
Source§impl Args for StageArgs
impl Args for StageArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for StageArgs
impl FromArgMatches for StageArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.