Repo CLI reference
Discover the GitHub repositories a connection can reach and attach one to a Project.
Use this page to inspect every public atoi repo command, its accepted flags, and one runnable example. Return to the CLI reference index to choose another command group.
atoi repoDiscover GitHub repositories and attach one to a Project.
| Command | What it does |
|---|---|
atoi repo discover | Discover the GitHub repositories your connection can reach and remember them, so a Project can bind one. |
atoi repo list | List the repositories Atoi has discovered for you. |
atoi repo attach | Attach a discovered repository to a Project as its primary repository. |
#repo discover
Discover the GitHub repositories your connection can reach and remember them, so a Project can bind one.
atoi repo discover [--query <text>] [--limit <n>]
| Flag | Type | Default | Values | What it does |
|---|---|---|---|---|
--query | string | Filter repositories by name. | ||
--limit | number | Limit the number of returned records. | ||
--json | boolean | false | Emit the canonical JSON envelope. | |
--ndjson | boolean | false | Emit one canonical JSON envelope per line. | |
--format | string | text | text, json | Choose human text or the JSON envelope. |
--help -h | boolean | Show command help. |
#Run repo discover
atoi repo discover --query sagu --json
#repo list
List the repositories Atoi has discovered for you.
atoi repo list
| Flag | Type | Default | Values | What it does |
|---|---|---|---|---|
--json | boolean | false | Emit the canonical JSON envelope. | |
--ndjson | boolean | false | Emit one canonical JSON envelope per line. | |
--format | string | text | text, json | Choose human text or the JSON envelope. |
--help -h | boolean | Show command help. |
#Run repo list
atoi repo list --json
#repo attach
Attach a discovered repository to a Project as its primary repository.
atoi repo attach <owner/name> --project <project-id>
| Flag | Type | Default | Values | What it does |
|---|---|---|---|---|
--project required | string | The Project that receives the repository. | ||
--json | boolean | false | Emit the canonical JSON envelope. | |
--ndjson | boolean | false | Emit one canonical JSON envelope per line. | |
--format | string | text | text, json | Choose human text or the JSON envelope. |
--help -h | boolean | Show command help. |
#Run repo attach
atoi repo attach creative-int/sagu --project prj_9c4k --json
Read Projects next for what a Project does with its repository.
Was this useful?