pub enum WipAction {
Show {
board: Option<String>,
},
Set {
column: String,
max_items: Option<u32>,
max_estimate: Option<u32>,
unit: Option<String>,
policy: Option<String>,
disabled: bool,
board: Option<String>,
},
Unset {
column: String,
board: Option<String>,
},
Unit {
name: String,
factor: Option<u32>,
remove: bool,
board: Option<String>,
},
}Expand description
tix wip’s subcommands (mission configurable-wip-limits-01M3C6WX, WP04).
The CLI parses and routes; the policy service owns every evaluation, and the schema’s own validation decides whether a configuration is acceptable. Nothing here decides what a limit means.
Variants§
Show
Show the configured limits, their units, and the current usage
Set
Set or update one column’s limit
Only the flags you name change, exactly as tix recurring edit works, so
tix wip set "in progress" --max-items 4 keeps the column’s estimate
ceiling, unit and policy.
Fields
Unset
Remove one column’s limit
Unit
Declare an estimate unit, or remove one
A unit is a name and its factor to the board’s base unit: with d = 1 and
w = 5, an issue estimated 1w counts as 5d. A unit the board does not
declare is a missing_conversion refusal wherever it is used, never a zero.
Trait Implementations§
Source§impl FromArgMatches for WipAction
impl FromArgMatches for WipAction
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 WipAction
impl Subcommand for WipAction
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 WipAction
impl RefUnwindSafe for WipAction
impl Send for WipAction
impl Sync for WipAction
impl Unpin for WipAction
impl UnsafeUnpin for WipAction
impl UnwindSafe for WipAction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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