pub(crate) enum AppCommand {
Show 18 variants
ApplyFile {
app: LaunchableApp,
open: AppOpenArgs,
list: ExperimentListSource,
preserve_nimbus_db: bool,
},
CaptureLogs {
app: LaunchableApp,
file: PathBuf,
},
Defaults {
manifest: ManifestSource,
feature_id: Option<String>,
output: Option<PathBuf>,
},
Enroll {
app: LaunchableApp,
params: NimbusApp,
experiment: ExperimentSource,
rollouts: Vec<ExperimentSource>,
branch: String,
preserve_targeting: bool,
preserve_bucketing: bool,
preserve_nimbus_db: bool,
open: AppOpenArgs,
},
ExtractFeatures {
experiment: ExperimentSource,
branch: String,
manifest: ManifestSource,
feature_id: Option<String>,
validate: bool,
multi: bool,
output: Option<PathBuf>,
},
FetchList {
list: ExperimentListSource,
file: Option<PathBuf>,
},
FmlPassthrough {
args: Vec<OsString>,
cwd: PathBuf,
},
Info {
experiment: ExperimentSource,
output: Option<PathBuf>,
},
Kill {
app: LaunchableApp,
},
List {
list: ExperimentListSource,
},
LogState {
app: LaunchableApp,
open: AppOpenArgs,
},
NoOp,
Open {
app: LaunchableApp,
open: AppOpenArgs,
},
Reset {
app: LaunchableApp,
},
StartServer,
TailLogs {
app: LaunchableApp,
},
Unenroll {
app: LaunchableApp,
open: AppOpenArgs,
},
ValidateExperiment {
params: NimbusApp,
manifest: ManifestSource,
experiment: ExperimentSource,
},
}
Variants§
ApplyFile
CaptureLogs
Defaults
Enroll
Fields
§
app: LaunchableApp
§
experiment: ExperimentSource
§
rollouts: Vec<ExperimentSource>
§
open: AppOpenArgs
ExtractFeatures
FetchList
FmlPassthrough
Info
Kill
Fields
§
app: LaunchableApp
List
Fields
§
list: ExperimentListSource
LogState
NoOp
Open
Reset
Fields
§
app: LaunchableApp
StartServer
TailLogs
Fields
§
app: LaunchableApp
Unenroll
ValidateExperiment
Implementations§
source§impl AppCommand
impl AppCommand
pub(crate) fn try_validate(cli: &Cli) -> Result<Self>
Trait Implementations§
source§impl Debug for AppCommand
impl Debug for AppCommand
source§impl PartialEq for AppCommand
impl PartialEq for AppCommand
source§impl TryFrom<&Cli> for AppCommand
impl TryFrom<&Cli> for AppCommand
impl StructuralPartialEq for AppCommand
Auto Trait Implementations§
impl Freeze for AppCommand
impl RefUnwindSafe for AppCommand
impl Send for AppCommand
impl Sync for AppCommand
impl Unpin for AppCommand
impl UnwindSafe for AppCommand
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
Mutably borrows from an owned value. Read more
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more