cli: Explain how to publish a repo on `rad init`
This commit is contained in:
parent
1acbe39340
commit
45a2c05a9e
|
|
@ -12,6 +12,8 @@ You can show it any time by running `rad .` from this directory.
|
||||||
|
|
||||||
You have created a private repository.
|
You have created a private repository.
|
||||||
This repository will only be visible to you, and to peers you explicitly allow.
|
This repository will only be visible to you, and to peers you explicitly allow.
|
||||||
|
|
||||||
|
To make it public, run `rad publish`.
|
||||||
To push changes, run `git push`.
|
To push changes, run `git push`.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -357,15 +357,19 @@ pub fn announce(doc: Doc<Verified>, node: &mut Node) -> anyhow::Result<()> {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO: Tell users how to make the project public.
|
|
||||||
term::info!(
|
term::info!(
|
||||||
"You have created a {} repository.",
|
"You have created a {} repository.",
|
||||||
term::format::yellow("private")
|
term::format::visibility(&doc.visibility)
|
||||||
);
|
);
|
||||||
term::info!(
|
term::info!(
|
||||||
"This repository will only be visible to you, \
|
"This repository will only be visible to you, \
|
||||||
and to peers you explicitly allow.",
|
and to peers you explicitly allow.",
|
||||||
);
|
);
|
||||||
|
term::blank();
|
||||||
|
term::info!(
|
||||||
|
"To make it public, run {}.",
|
||||||
|
term::format::command("rad publish")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue