Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
cli: Show full path in `rad init`
cloudhead committed 2 years ago
commit 9c96b46c592aafc0858c4d4babafdba1ed59b88c
parent 9c9bbbe7bb54aefd844a4815c04aea3e34e4ab02
9 files changed +10 -14
modified radicle-cli/examples/rad-init-private.md
@@ -3,7 +3,7 @@ Alice can initialize a *private* repo using the `--private` flag.
```
$ rad init --name heartwood --description "radicle heartwood protocol & stack" --no-confirm --private

-
Initializing private radicle 👾 repository in .
+
Initializing private radicle 👾 repository in [..]

✓ Repository heartwood created.

modified radicle-cli/examples/rad-init-sync-not-connected.md
@@ -3,7 +3,7 @@ When initializing a repository without any peer connections, we get this output:
```
$ rad init --name heartwood --description "Radicle Heartwood Protocol & Stack" --no-confirm --public --scope followed

-
Initializing public radicle 👾 repository in .
+
Initializing public radicle 👾 repository in [..]

✓ Repository heartwood created.

modified radicle-cli/examples/rad-init-sync-preferred.md
@@ -3,7 +3,7 @@ Let's try initializing a new repository with a preferred seed configured.
```
$ rad init --name heartwood --description "Radicle Heartwood Protocol & Stack" --no-confirm --public --scope followed

-
Initializing public radicle 👾 repository in .
+
Initializing public radicle 👾 repository in [..]

✓ Repository heartwood created.

modified radicle-cli/examples/rad-init-sync-timeout.md
@@ -4,7 +4,7 @@ as the node will keep attempting to sync in the background.
```
$ rad init --name heartwood --description "Radicle Heartwood Protocol & Stack" --no-confirm --public --scope followed

-
Initializing public radicle 👾 repository in .
+
Initializing public radicle 👾 repository in [..]

✓ Repository heartwood created.

modified radicle-cli/examples/rad-init-sync.md
@@ -5,7 +5,7 @@ the `init` command:
```
$ rad init --name heartwood --description "Radicle Heartwood Protocol & Stack" --no-confirm --public --scope followed

-
Initializing public radicle 👾 repository in .
+
Initializing public radicle 👾 repository in [..]

✓ Repository heartwood created.

modified radicle-cli/examples/rad-init-with-existing-remote.md
@@ -22,7 +22,7 @@ Then we initialize.
```
$ rad init --name heartwood --description "Heartwood Protocol & Stack" --no-confirm --public

-
Initializing public radicle 👾 repository in .
+
Initializing public radicle 👾 repository in [..]

✓ Repository heartwood created.

modified radicle-cli/examples/rad-init.md
@@ -5,7 +5,7 @@ To create your first radicle repository, navigate to a git repository, and run t
```
$ rad init --name heartwood --description "Radicle Heartwood Protocol & Stack" --no-confirm --public -v

-
Initializing public radicle 👾 repository in .
+
Initializing public radicle 👾 repository in [..]

✓ Repository heartwood created.
{
modified radicle-cli/examples/rad-patch-pull-update.md
@@ -5,7 +5,7 @@ Alice creates a repository and Bob clones it.
``` ~alice
$ rad init --name heartwood --description "radicle heartwood protocol & stack" --no-confirm --public

-
Initializing public radicle 👾 repository in .
+
Initializing public radicle 👾 repository in [..]

✓ Repository heartwood created.

modified radicle-cli/src/commands/init.rs
@@ -214,17 +214,13 @@ pub fn init(options: Options, profile: &profile::Profile) -> anyhow::Result<()>
        .ok_or_else(|| anyhow!("repository head must point to a commit"))?;

    term::headline(format!(
-
        "Initializing{}radicle 👾 repository in {}",
+
        "Initializing{}radicle 👾 repository in {}..",
        if let Some(visibility) = &options.visibility {
            term::format::spaced(term::format::visibility(visibility))
        } else {
            term::format::default(" ").into()
        },
-
        if path == cwd {
-
            term::format::tertiary(".").to_string()
-
        } else {
-
            term::format::tertiary(path.display()).to_string()
-
        }
+
        term::format::dim(path.display())
    ));

    let name = match options.name {