gko is the command-line client for a Gingko install. It talks to the portal
over /api/v1, the same API the portal's own pages use, and signs in through
the install's identity provider. Anything you can do to apps and files in the
portal has a gko command; operator commands for projects and shares live here
too.
The commands are grouped by what they act on:
gko login, logout, whoami, settings, version
gko app list, show, install, uninstall, grant, start, stop, restart, set, updates,
direct-ports, onlyoffice, domain, redirects, rename-domain
gko files list, delete, ls, get, backup, snapshots, empty, delete-database
gko project list, create, owner, domain, share, move, delete
gko member list, invite, resend, remove, mailbox
gko zone list, add, remove
gko branding show, name, set, remove
gko package list, show, add, set, retry, upgrade, kubeconfig, usage, remove
gko backup show, destination, check, run, move, resume
gko token list, create, revoke
gko checks, resources, identities, catalog
gko notification list, dismiss
The reads of the Operations pages (checks, resources,
identities, catalog, package usage, project move, notification list)
print the JSON the install answers, indented: what an agent parses, and still
readable.
gko help prints every command with its usage. Creating and deleting is
done here and not in the portal: projects, members, zones, packages, apps,
volumes and databases. The portal uses and configures what exists. Every
command needs the install's operator.
Start with Installing gko, then Signing in. The command reference is split into Apps and files, Projects and tokens, Packages and Backups.
Last validated: · View as Markdown