@omg-dev/apps
v0.4.45
Published
Retired create/deploy CLI for omg apps. The current product is the local control plane in BennyKok/omg.dev.
Readme
@omg-dev/apps
Retired create/deploy CLI. It can still create a starter and publish an app
to https://<slug>.omgs.app. That is not the current product.
The current product is the local agent control plane in BennyKok/omg.dev:
curl -fsSL https://raw.githubusercontent.com/BennyKok/omg.dev/main/scripts/setup.sh | bashThen open http://localhost:8766. You bring your own agent accounts.
This package used to publish as @omg-dev/cli 0.4.x. That name now belongs
to BennyKok/omg.dev at 0.5.0+. This repository must never publish
@omg-dev/cli again. The binary is omg-apps so it cannot collide with
the control-plane omg command.
lfg remains a compatibility alias for the control-plane command. It is not
a second product.
Install
npm install --global @omg-dev/apps
omg-apps helpCreate a starter with omg-apps create my-app, or with npx create-omg my-app.
create-omg is also not the current product.
Commands
| Command | Does |
| -------------------------------------------------- | ---------------------------------------------------------------- |
| omg-apps create <name> [--no-install] | Create an app from the official starter. |
| omg-apps login | Sign in through the browser with OAuth 2.1 + PKCE. |
| omg-apps login --token "$OMG_API_KEY" | Save an API key for headless use. |
| omg-apps whoami | Print the authenticated account without printing its credential. |
| omg-apps logout | Remove saved credentials. |
| omg-apps apps | List apps visible to the authenticated account. |
| omg-apps connect [--new] [--no-install] | Pair this machine with the hosted relay. |
| omg-apps deploy [--name X] [--dir .] [--no-wait] | Upload source, build, and publish. |
| omg-apps status [--dir .] | Show deploy status for the linked directory. |
| omg-apps link <slug> [--dir .] | Link a directory to an app on the account. |
| omg-apps dev [--dir .] [--agent-port N] | Run the project with local VM-service emulation. |
Hosted pairing (login / connect) stays in this repository. It is not the
first-run path. First run is the BennyKok/omg.dev setup script.
Deploy writes a pending operation key to .omg/project.json before it uploads
source. If the response is lost, the next identical deploy reuses that key and
the control plane returns the original project and run instead of creating a
second app.
Releasing
packages/cli/scripts/release.sh # patch bump; minor|major also accepted
packages/cli/scripts/release.sh --dry-run # build, verify, pack, publish nothingThis publishes @omg-dev/apps only. The script refuses to publish
@omg-dev/cli or a binary named omg.
