pub enum Commands {
Show 15 variants
Bake {
input: PathBuf,
frames: usize,
dt: f64,
output: PathBuf,
},
Render {
input: PathBuf,
frame: Option<i64>,
frames: Option<usize>,
dt: f64,
width: u32,
height: u32,
out: Option<PathBuf>,
out_dir: Option<PathBuf>,
prefix: String,
background: String,
},
Pack {
input: PathBuf,
output: PathBuf,
},
Unpack {
input: PathBuf,
output: PathBuf,
},
Info {
input: PathBuf,
json: bool,
},
Validate {
input: PathBuf,
fix: bool,
deep: bool,
json: bool,
warnings_as_errors: bool,
},
Diff {
a: PathBuf,
b: PathBuf,
fail_on_diff: bool,
},
New {
output: PathBuf,
template: String,
},
Templates {},
Play {
input: PathBuf,
duration: f64,
},
ExportLottie {
input: PathBuf,
output: PathBuf,
strict: bool,
},
ImportLottie {
input: PathBuf,
output: PathBuf,
strict: bool,
},
ExportSvg {
input: PathBuf,
output: PathBuf,
frame: f64,
strict: bool,
},
ImportSvg {
input: PathBuf,
output: PathBuf,
strict: bool,
},
Completions {
shell: Shell,
},
}Variants§
Bake
Bake animation frames to JSON scenes (golden tests / export)
Render
Rasterize to PNG via the Repose WGPU renderer: a single frame (–frame) or a sequence (–frames)
Fields
Pack
Pack .ren -> binary .renb
Unpack
Unpack .renb -> pretty .ren
Info
Show project info
Validate
Validate + normalize (optionally fix in place, or deep-validate)
Fields
Diff
Structural diff between two .ren/.renb files
New
Scaffold a new .ren project
Fields
Templates
List built-in project templates
Play
Headless playback (prints machine events)
ExportLottie
Export a .ren/.renb project to Lottie JSON.
Fields
ImportLottie
Convert Lottie JSON to a Renamite project.
ExportSvg
Export a .ren/.renb project to a static SVG frame snapshot.
Fields
ImportSvg
Convert an SVG file to a Renamite project.
Completions
Generate shell completions
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>
Assign values from
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>
Assign values from
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
Append to
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
Test whether
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§
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