asterai CLI

Usage: asterai <command> [options]

Auth commands:
  asterai auth login <api-key>                     Authenticate to the Asterai registry
  asterai auth logout                              Clear authentication (logout)
  asterai auth status                              Show current authentication status and user

Environment commands:
  asterai env init <name> [-e]                     Create a new local environment (-e to edit)
  asterai env edit <name>                          Open environment in editor ($EDITOR or vi)
  asterai env run <name>                           Run the environment locally (Ctrl+C to stop)
  asterai env call <name> <component> <fn> [args]  Call a function in the given environment
  asterai env pull <name>                          Pull the environment <name> from the registry
  asterai env push <name>                          Push the local environment <name> to the registry
  asterai env list                                 List all environments you have write access to
                                                   (shows local and published; tags indicate status)
  asterai env inspect <name>                       Show components, env vars, and metadata
  asterai env add-component <env> <component>      Add a component to an environment
  asterai env remove-component <env> <component>   Remove a component from an environment
  asterai env set-var <name> --var NAME=VALUE      Set an env var (NAME= to clear)
  asterai env delete <namespace:name>              Delete local environment (-r for registry)

Component commands:
  asterai component init <name> [language]         Scaffold a new local WASM component project
  asterai component pkg                            Package the component's WIT into a WASM package.
  asterai component pull <name>                    Pull the component <name> from the registry
  asterai component push                           Push the current component (from project dir) to the registry
  asterai component list                           List all components you have write access to
                                                   (shows local and published; tags indicate status)
  asterai component delete <namespace:name>        Delete a local component and all its versions