pub enum Commands {
Show 17 variants
Convert {
input: PathBuf,
output: PathBuf,
},
Info {
path: PathBuf,
},
Head {
path: PathBuf,
rows: usize,
},
Schema {
path: PathBuf,
},
Mix {
inputs: Vec<String>,
output: PathBuf,
seed: u64,
max_rows: usize,
},
Fim {
input: PathBuf,
output: PathBuf,
column: String,
rate: f64,
format: String,
seed: u64,
},
Dedup {
input: PathBuf,
output: PathBuf,
column: Option<String>,
},
FilterText {
input: PathBuf,
output: PathBuf,
column: Option<String>,
min_score: f64,
min_length: usize,
max_length: usize,
},
View {
path: PathBuf,
search: Option<String>,
},
Import {
source: ImportSource,
},
Hub(HubCommands),
Registry(RegistryCommands),
Drift(DriftCommands),
Quality(QualityCommands),
Fed(FedCommands),
Doctest(DoctestCommands),
Repl,
}Expand description
The alimentar command surface.
PUBLIC so apr data can expose it. APR-MONO consolidated this crate in-tree,
but the capability stayed reachable only through the standalone alimentar
binary: apr data shipped 5 commands (audit, split, decontaminate, dedup,
balance) against alimentar’s 20, so 18 were unreachable from apr at all.
Deleting the binary before exposing these would have removed the capability
rather than relocating it.
Variants§
Convert
Convert between data formats
Info
Display dataset information
Head
Display first N rows of a dataset
Schema
Display dataset schema
Mix
Mix multiple datasets with weighted sampling
Fields
Fim
Apply Fill-in-the-Middle (FIM) transform for code model training
Fields
Dedup
Deduplicate dataset by text content (R-019)
Fields
FilterText
Filter dataset by text quality signals (R-022)
Fields
View
Interactive TUI viewer for datasets
Fields
Import
Import dataset from local files or HuggingFace Hub
Fields
source: ImportSourceHub(HubCommands)
HuggingFace Hub commands (push/upload datasets)
Registry(RegistryCommands)
Registry commands for dataset sharing and discovery
Drift(DriftCommands)
Data drift detection commands
Quality(QualityCommands)
Data quality checking commands
Fed(FedCommands)
Federated split coordination commands
Doctest(DoctestCommands)
Python doctest extraction commands
Repl
Interactive REPL for data exploration
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§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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