Documentation
¶
Overview ¶
gh-optivem: A gh CLI extension for pipeline project management.
Usage:
Monolith:
gh optivem init --owner acme --system-name "Page Turner" --repo page-turner \
--arch monolith --monolith-lang java
Multitier:
gh optivem init --owner acme --system-name "Page Turner" --repo page-turner \
--arch multitier --backend-lang java --frontend-lang react
Dry run:
gh optivem init ... --dry-run
runner_commands.go wires the `build system`, `run system`, `stop system`, and `run system tests` subcommands into the main package. The runner package is fully agnostic — these handlers just translate CLI flags into runner.* calls.
Working-dir contract: each command operates against the user's current working directory. JSON config paths default to ./system.json and ./tests.json; both can be overridden with --system / --tests.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
config
Package config provides CLI parsing, validation, and the Config struct.
|
Package config provides CLI parsing, validation, and the Config struct. |
|
files
Package files provides file manipulation helpers: replace, rename, walk.
|
Package files provides file manipulation helpers: replace, rename, walk. |
|
log
Package log provides colored logging helpers.
|
Package log provides colored logging helpers. |
|
pathx
Package pathx contains small cross-platform path helpers shared across packages that exec subprocesses.
|
Package pathx contains small cross-platform path helpers shared across packages that exec subprocesses. |
|
runner
Package runner orchestrates docker-compose-backed system tests using two JSON config files: a system.json (compose + health probes) and a tests.json (setup commands + suites).
|
Package runner orchestrates docker-compose-backed system tests using two JSON config files: a system.json (compose + health probes) and a tests.json (setup commands + suites). |
|
shell
Package shell provides GitHub CLI wrapper and subprocess helpers.
|
Package shell provides GitHub CLI wrapper and subprocess helpers. |
|
steps
Package steps implements the scaffold pipeline steps.
|
Package steps implements the scaffold pipeline steps. |
|
templates
Package templates provides template helpers: copy workflows, docker-compose selection, fixups.
|
Package templates provides template helpers: copy workflows, docker-compose selection, fixups. |
|
version
Package version provides build-time version information.
|
Package version provides build-time version information. |
Click to show internal directories.
Click to hide internal directories.