CLI overview
The complete command surface: create, adopt, generate, verify, and manage optional hosted access.
Use Megamono to create a workspace, bring an existing repository into a consistent structure, and run checks as your projects grow. Nx runs the individual project tasks; Megamono helps you organize and connect them.
Choose where to start
- Starting fresh? Follow Create a workspace.
- Already using Nx? Follow Adopt an existing workspace.
- Adding code? Use application and library generators.
- Checking your work? Explore checks and tasks.
You do not need a hosted account for local workspace commands. The public hosted service has not launched; sign-in, hosted account switching, and feedback submission require that service. Local feedback reports work today. Examples use npm; use your repository’s package manager when it differs.
Command options
Use the help below for exact syntax and options. You can also run megamono --help in your terminal.
text
Usage: megamono <command> [options]
Commands:
init Adopt Megamono in an existing Nx workspace
adopt Survey first, then selectively adopt with --write
add app [type] Add a convention-aligned application
add database [name] Add a named Prisma or Drizzle database project
add integration Materialize package-authored Playstack wiring
add springbar Preview optional local development configuration
add <module> Add one repository-governance module
auth login|status|logout
Manage optional hosted-service authentication
account list|use List or switch personal and organization accounts
health Run workspace checks with a package-source profile
verify <kind> Verify runtime, dependency, or container portability
diagnostics packages Compare installed, Yalc, source-build and PATH CLI artifacts
feedback Create or submit a redacted artifact report
generate <name> Run an available local Megamono generator
help Show this help
Global options:
--version Print the installed CLI version
--version --json Print version, revision, and build identity
--help Show this help
Init-only options:
--springbar Configure Springbar after successful initialization
--springbar-candidates=<names>
Select exact inspected Springbar candidate names
--playstack Run package-owned Playstack setup after Megamono
--playstack-packages[=<names>]
Select capabilities, or pass capabilities/package names
--playstack-web=<path|false>
--playstack-api=<path|false>
Select or suppress adopted application surface paths
--local-packages=registry|yalc
Package source for missing local packages
All other init options are forwarded to @megamono/plugin:workspace-init.