mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 18:40:39 +08:00
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>
34 lines
560 B
Markdown
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
|
|
|
|
```
|