Skip to main content
Create and update tasks and services at runtime using the CLI. When Ona explores a new repository, it can:
  • Discover package.json scripts and expose them as tasks
  • Find services in a monorepo and create start commands for each
  • Generate test tasks for different modules it finds
  • Adapt the environment to match the project structure

Creating tasks and services dynamically

Use the CLI to pipe configuration directly:
The - signals reading from stdin. Task and service IDs can only contain alphanumeric characters, underscores, and hyphens (1-128 characters).

Example uses

Expose package.json scripts as tasks:
Create services for monorepo components:
Load configuration from a remote source:
Only download configuration from sources you trust. Verify integrity before applying.

Control from outside environments

Manage tasks and services from outside an environment using the CLI on your local machine or in external pipelines.

Example: create, run task, clean up