Package Exports
- @glrs-dev/cli
- @glrs-dev/cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@glrs-dev/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@glrs-dev/cli
Unified CLI for the @glrs-dev ecosystem. One binary, two subcommands:
npm i -g @glrs-dev/cliRequires Bun ≥ 1.2.0 on PATH at runtime.
glrs oc — OpenCode agent harness
Dispatches to @glrs-dev/harness-plugin-opencode (bundled as a dependency). Resolves the bin via require.resolve → reads the bin field → spawns with argv forwarded.
glrs oc install # install the OpenCode harness
glrs oc --help # full harness helpThe harness-opencode bin remains available directly for power users who prefer the untagged entry point.
glrs wt — worktree management
Five named subcommands:
glrs wt new <name> # create a new git worktree
glrs wt list # list all worktrees for this repo
glrs wt switch # switch to a worktree by name
glrs wt delete <name> # delete a worktree
glrs wt cleanup # remove stale worktreesBare invocation: running glrs wt with no arguments in a TTY drops into an interactive picker — select a worktree to switch to without typing its name.
Worktrees are stored in ~/.glorious/worktrees/<repo>/<name>/.
Philosophy
- Don't duplicate CLI logic.
glrs ocis a thin spawn wrapper aroundharness-opencode. - One install, one thing to remember for the harness + worktree workflow.
- Separate concerns stay separate. The SSO credential tool
@glrs-dev/assumeis a standalone Rust binary installed separately.
Docs
Full docs at glrs.dev/cli/ — generated from this README via the docs-site custom content loader.
License
MIT.