diff --git a/radicle-cli/src/commands.rs b/radicle-cli/src/commands.rs index f97f68a2..5e58c099 100644 --- a/radicle-cli/src/commands.rs +++ b/radicle-cli/src/commands.rs @@ -14,6 +14,8 @@ pub mod rad_init; pub mod rad_inspect; #[path = "commands/ls.rs"] pub mod rad_ls; +#[path = "commands/push.rs"] +pub mod rad_push; #[path = "commands/rm.rs"] pub mod rad_rm; #[path = "commands/self.rs"] diff --git a/radicle-cli/src/commands/push.rs b/radicle-cli/src/commands/push.rs new file mode 100644 index 00000000..ed8dab63 --- /dev/null +++ b/radicle-cli/src/commands/push.rs @@ -0,0 +1,134 @@ +use std::ffi::OsString; +use std::path::Path; + +use radicle::git; + +use crate::terminal as term; +use crate::terminal::args::{Args, Error, Help}; + +use anyhow::anyhow; + +pub const HELP: Help = Help { + name: "push", + description: env!("CARGO_PKG_DESCRIPTION"), + version: env!("CARGO_PKG_VERSION"), + usage: r#" +Usage + + rad push [--all] [--[no-]sync] [