noorle CLI is a plugin build-and-deploy tool. It scaffolds a plugin
project from a template, runs its build script, packs the result into a
.npack archive, and uploads it.
The command surface
Eleven commands, in three groups.Full command reference
Every flag and argument.
The loop
publish is build followed by deploy. Run them separately when you want to
inspect the archive first.
Development workflow
The build loop, project layout, and CI.
Project layout the CLI expects
The CLI is language-agnostic because it delegates the actual compilation to a script in your project:
Every template ships all of these.
noorle plugin build fails with a clear
error if build.sh is missing, is not executable, or does not produce
dist/plugin.wasm.
The plugin name is detected from Cargo.toml, then package.json, then the
directory name — and it becomes the archive filename.
Configuration
The CLI has no config file you write. It fetches its endpoints from the platform at startup:~/.noorle/config.json and used offline if the
platform is unreachable. If both fail, the CLI falls back to built-in defaults.
There is no
~/.noorle/config.toml, no NOORLE_API_KEY environment variable,
and no --api-key flag. The CLI authenticates only through the device flow.
The one environment variable in play is NOORLE_INSTALL, read by the
installer — see Installation.Pointing at another environment
--server is global and defaults to https://api.noorle.com.
Authentication
noorle login runs the OAuth device flow: it opens your browser to the Portal’s
device-verify page, prints a code to enter, and polls until you approve. The
access token is valid for one hour and is stored at ~/.noorle_token.
There is no API-key path and no non-interactive login. See
Authentication.
Output
Output is human-readable text with progress spinners. There is no--json,
--format, or --verbose flag — if you need machine-readable data, call the
management API directly.