Skip to content

mycli Documentation

A CLI tool for defining commands as code, publishing them to a registry, and running them from anywhere.
Terminal
$ my cli init hello
Created hello/command.yaml
$ my cli push -f hello/command.yaml
Pushed hello v1
$ my cli run hello -- World
Hello, World!

Define as Code

Author commands as YAML or JSON specs with args, flags, environment variables, Go templates, and multi-step workflows.

Publish & Sync

Push commands to a registry and sync them across machines. ETag-based caching keeps your catalog up to date.

Libraries

Add git-backed libraries — curated repositories of commands that work without an account.

Run Anywhere

Sync once, run from any machine. Full argument parsing, template rendering, and shell execution.