Skip to main content

Crate ripsync

Crate ripsync 

Source
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::Command for ripsync. Used by the man-page and shell-completion generators (the hidden _gen subcommand and the xtask).
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 into dir, creating it if needed.