ferrum_cli/commands/
mod.rs1use clap::ValueEnum;
4
5#[derive(Debug, Clone, Copy, PartialEq, Eq, ValueEnum)]
6pub enum SequenceFitPolicyArg {
7 FullInputMustFit,
8 ImmediateOnly,
9}
10
11impl SequenceFitPolicyArg {
12 pub const fn as_runtime_value(self) -> &'static str {
13 match self {
14 Self::FullInputMustFit => "full-input-must-fit",
15 Self::ImmediateOnly => "immediate-only",
16 }
17 }
18}
19
20#[derive(Debug, Clone, Copy, PartialEq, Eq, ValueEnum)]
21pub enum VNextDiagnosticFaultArg {
22 PrefillResourceAfterSubmitOnce,
23}
24
25impl VNextDiagnosticFaultArg {
26 pub const fn as_runtime_value(self) -> &'static str {
27 match self {
28 Self::PrefillResourceAfterSubmitOnce => "prefill-resource-after-submit-once",
29 }
30 }
31}
32
33pub mod bench;
34pub mod bench_serve;
35pub mod doctor;
36pub mod embed;
37pub mod list;
38pub mod pull;
39pub mod replay_bundle;
40pub mod run;
41pub mod serve;
42pub mod stop;
43pub mod transcribe;
44pub mod tts;
45pub mod vnext_checkpoint;
46pub mod vnext_determinism;