cli: Give more control over `init` announcement
modified radicle-cli/examples/rad-init-sync.md
@@ -3,7 +3,7 @@ To create your first radicle project, navigate to a git repository, and run
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -14,11 +14,9 @@ Initializing local 🌱 project in .
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
modified radicle-cli/examples/rad-init.md
@@ -3,7 +3,7 @@ To create your first radicle project, navigate to a git repository, and run
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/init.rs
@@ -33,8 +33,8 @@ Options
|
|
|
|
|
|
| + | |
|
|
| - | |
|
|
|
|
|
@@ -48,7 +48,7 @@ pub struct Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -65,7 +65,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -108,15 +108,12 @@ impl Args for Options {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -139,7 +136,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -241,7 +238,8 @@ pub fn init(options: Options, profile: &profile::Profile) -> anyhow::Result<()>
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -250,6 +248,15 @@ pub fn init(options: Options, profile: &profile::Profile) -> anyhow::Result<()>
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -257,9 +264,11 @@ pub fn init(options: Options, profile: &profile::Profile) -> anyhow::Result<()>
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/push.rs
@@ -15,15 +15,13 @@ pub const HELP: Help = Help {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -40,7 +38,6 @@ pub struct Options {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -51,7 +48,6 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -68,16 +64,6 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -92,7 +78,6 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -130,9 +115,5 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
modified radicle-cli/tests/commands.rs
@@ -388,6 +388,7 @@ fn test_replication_via_seed() {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-httpd/src/test.rs
@@ -95,7 +95,7 @@ pub fn seed(dir: &Path) -> Context {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/control.rs
@@ -165,6 +165,12 @@ fn command<H: Handle<Error = runtime::HandleError>>(
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/runtime/handle.rs
@@ -159,6 +159,10 @@ impl<G: Signer + Ecdh + 'static> radicle::node::Handle for Handle<G> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/service.rs
@@ -104,6 +104,8 @@ pub type QueryState = dyn Fn(&dyn ServiceState) -> Result<(), CommandError> + Se
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -128,6 +130,7 @@ impl fmt::Debug for Command {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -516,10 +519,19 @@ where
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -620,8 +632,21 @@ where
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1073,13 +1098,10 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
modified radicle-node/src/test/handle.rs
@@ -59,6 +59,10 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/node.rs
@@ -110,6 +110,8 @@ impl From<net::SocketAddr> for Address {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -382,8 +384,10 @@ pub trait Handle {
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
| + | |
|
|
|
|
|
@@ -525,6 +529,13 @@ impl Handle for Node {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|