Skip to main content

Cosmo CLI

Guides for how you can interact with Cosmonic using cosmo

📄️ Cosmo Down

This command will stop all the resources started by cosmo up. Primarily it will stop the wasmCloud host and NATS leaf that were started on your local machine. If there is a single host running on your machine, cosmo down will stop that singular host. In case of multiple hosts, the user gets a choice to stop a specific host or all the running hosts on the system. To stop a specific host in a multiple host scenario, pass the --host-id flag to the command. To stop currently running hosts, pass the --all flag.

📄️ Cosmo Launch

This command will help you to quickstart an actor on a local wasmCloud host. This will check if you have a wasmCloud host running locally and if not, it will start one on your local system. Then, it will launch an actor from the current project directory. You may specify a different project directory to pull the actor artifact from by passing the -p flag. Once you have launched your actor, you may view it in the Cosmonic UI. By default, the launched actor is published to the Cosmonic registry. If you want to publish your actor to a different registry, you can specify a registry URL with the -r option