Skip to content

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.

CommandWhat it does
atoi repo discoverDiscover the GitHub repositories your connection can reach and remember them, so a Project can bind one.
atoi repo listList the repositories Atoi has discovered for you.
atoi repo attachAttach 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>]

FlagTypeDefaultValuesWhat it does
--querystringFilter repositories by name.
--limitnumberLimit the number of returned records.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run repo discover

bash
atoi repo discover --query sagu --json

#repo list

List the repositories Atoi has discovered for you.

atoi repo list

FlagTypeDefaultValuesWhat it does
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run repo list

bash
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>

FlagTypeDefaultValuesWhat it does
--project requiredstringThe Project that receives the repository.
--jsonbooleanfalseEmit the canonical JSON envelope.
--ndjsonbooleanfalseEmit one canonical JSON envelope per line.
--formatstringtexttext, jsonChoose human text or the JSON envelope.
--help -hbooleanShow command help.

#Run repo attach

bash
atoi repo attach creative-int/sagu --project prj_9c4k --json

Read Projects next for what a Project does with its repository.

Was this useful?