CodeIssuesDiscussionsWikiPull RequestsProjectsCommitsActionsReleasesContributorsPulse● GatesSecuritySettingsDeploymentsPipelineInsightsAgents✨ Explain✨ Ask AI✨ Workspace✨ Spec✨ Tests▓ Debt Map✨ NL Search🏛 Archaeology
Blame · Line-by-line history
README.md
Each line is annotated with the commit that last touched it. Click any SHA to jump to that commit and see the surrounding change.
| eae38d1 | 1 | # gluecron CLI |
| 2 | ||
| 3 | Official CLI for Gluecron. Single Bun-compiled binary; talks to any Gluecron | |
| 4 | server over HTTPS. | |
| 5 | ||
| 6 | ## Build | |
| 7 | ||
| 8 | ``` | |
| 9 | bun build cli/gluecron.ts --compile --outfile gluecron | |
| 10 | ./gluecron version | |
| 11 | ``` | |
| 12 | ||
| 13 | ## Commands | |
| 14 | ||
| 15 | ``` | |
| 16 | gluecron login Save a personal access token | |
| 17 | gluecron whoami Print the logged-in user | |
| 18 | gluecron repo ls [--user <name>] List repos | |
| 19 | gluecron repo show <owner/name> Show a repo | |
| 20 | gluecron repo create <name> [--private] | |
| 21 | Create a repo | |
| 22 | gluecron issues ls <owner/name> List open issues | |
| 23 | gluecron gql '<query>' Run a GraphQL query | |
| 24 | gluecron host [url] Get or set the server URL | |
| 25 | gluecron version Print version | |
| 26 | ``` | |
| 27 | ||
| 28 | Config is stored at `~/.gluecron/config.json` with 0600 permissions. | |
| 29 | ||
| 30 | Server URL can be overridden via `GLUECRON_HOST` or `gluecron host <url>`. | |
| 31 | ||
| 32 | ## Auth | |
| 33 | ||
| 34 | The CLI uses personal access tokens (PATs). Create one via the web UI at | |
| 35 | `/settings/tokens`. Tokens carry the `glc_` prefix and are sent as | |
| 36 | `Authorization: Bearer <token>`. |