Files
heartwood/radicle-cli/examples/rad-init.md
T
Alexis Sellier e258c72eca Implement some CLI tests using trycmd
I'm not entirely satisfied with `trycmd`, but it's a start.
If we choose to move to a different crate, or implement our own,
we can keep the example test cases.

Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-11-22 10:44:30 +01:00

34 lines
560 B
Markdown

To create your first radicle project, navigate to a git repository, and run
the `init` command:
```
$ rad init --name acme --description "Acme's repository" --no-confirm
Initializing local 🌱 project in .
ok Project acme created
{
"name": "acme",
"description": "Acme's repository",
"default-branch": "master"
}
Your project id is [..]. You can show it any time by running:
rad .
To publish your project to the network, run:
rad push
```
Projects can be listed with the `ls` command:
```
$ rad ls
acme [..] [..] Acme's repository
```