Expand description
ripsync CLI library: argument parsing, planning, applying, reporting.
The ripsync binary and the opt-in rs short alias are both thin wrappers
over main, so the entire program lives here in the library.
Modules§
- args
- Command-line interface definition (clap derive).
Functions§
- command
- The fully-built clap
clap::Commandfor ripsync. Used by the man-page and shell-completion generators (the hidden_gensubcommand and thextask). - main
- Process entry point shared by every binary: runs [
run] and maps errors to exit codes (130 on cancellation, 1 otherwise). - write_
assets - Write the man page (
ripsync.1) and bash/zsh/fish/powershell completions intodir, creating it if needed.