kindgi projects
kindgi projects
Section titled “kindgi projects”Synopsis
kindgi projects <command>Find projects, for the commands that take --project=<id> (list / get-default / get), make and rename them (create / rename), and put one in production (production).
Commands
| Command | Description |
|---|---|
kindgi projects list |
List the tenant's projects. |
kindgi projects get-default |
The tenant's Default project, the one used when none is named. |
kindgi projects get |
One project, by id. |
kindgi projects create |
Make a project. |
kindgi projects rename |
Change a project's name, its slug, or both. |
kindgi projects production |
Put a project in production (on), take it out (off), or say whether it's in production (status). |
See also
kindgi projects list
Section titled “kindgi projects list”Synopsis
kindgi projects list [--limit=<n>] [--cursor=<c>]List the tenant's projects.
Options
| Option | Default | Description |
|---|---|---|
--cursor <value> |
none | Resume after this cursor, from the previous page's nextCursor. |
--limit <value> |
25 (at most 100) |
The most projects to return. |
Every command also takes the global flags.
Examples
List the tenant's projects.
kindgi projects listPage through them, 10 at a time.
kindgi projects list --limit=10 --cursor=<cursor>See also
kindgi projects get-default
Section titled “kindgi projects get-default”Synopsis
kindgi projects get-defaultThe tenant's Default project, the one used when none is named.
Options
Every command also takes the global flags.
Examples
Show the tenant's Default project, the one used when no --project is given.
kindgi projects get-defaultSee also
kindgi projects get
Section titled “kindgi projects get”Synopsis
kindgi projects get <project-id>One project, by id.
Options
Every command also takes the global flags.
Examples
Show one project by id.
kindgi projects get <project-id>See also
kindgi projects create
Section titled “kindgi projects create”Synopsis
kindgi projects create --name=<name> [--slug=<slug>] [--description=<text>] [--org=<org-id>]Make a project. Prints it, with its id for the --project=<id> flags. For tenant admins.
Options
| Option | Default | Description |
|---|---|---|
--description <value> |
none | What the project is for. |
--name <value> |
required | What people see, e.g. Support bot. Required. |
--org <value> |
none (a project in no org) | The org it belongs to, by id. Without it, none. |
--slug <value> |
the name as a slug: lowercase letters and digits, accents dropped, each run of anything else -, at most 63 characters (Support bot is support-bot, Café is cafe) |
The project's short name, unique in its org (or among projects in none); kindgi deploy --project <id|slug> takes it. Defaults to the name as a slug: Support bot is support-bot. |
Every command also takes the global flags.
Examples
Make a project, with the slug support-bot, and print it with its id.
kindgi projects create --name="Support bot"Make a project in an org, with a slug of your own.
kindgi projects create --name=Support --slug=support --org=<org-id> --description="Answers the support inbox"From Organize work by org and project:
npx --yes @kindgi/cli@0.1 projects create --name="Acme shop" --org=<org-id>See also
kindgi projects rename
Section titled “kindgi projects rename”Synopsis
kindgi projects rename <project-id> [--name=<name>] [--slug=<slug>]Change a project's name, its slug, or both. Prints the project. kindgi deploy --project <id|slug> then takes the new slug, not the old one. For the project's admins (an admin of its org, or a tenant admin, is one).
Options
| Option | Default | Description |
|---|---|---|
--name <value> |
unchanged | The new name. |
--slug <value> |
unchanged | The new slug, unique in its org (or among projects in none). |
Every command also takes the global flags.
Examples
Change a project's name; its slug stays.
kindgi projects rename <project-id> --name=StorefrontChange its name and its slug.
kindgi projects rename <project-id> --name=Storefront --slug=storefrontSee also
kindgi projects production
Section titled “kindgi projects production”Synopsis
kindgi projects production <project-id> <on|off|status>Put a project in production (on), take it out (off), or say whether it's in production (status). A run in a project in production is a production run; a run anywhere else is staging. on and off are for tenant admins.
Options
Every command also takes the global flags.
Examples
From Organize work by org and project:
pnpm exec kindgi projects production <project-id> onpnpm exec kindgi projects production <project-id> statusSee also