Repository navigation
Sharing
crower export -o my-workflows.toml # every command
crower export deploy -o deploy.toml # one commandThe file is TOML: readable, diffable, and safe to commit. A command may carry
Description and Params β what it is for and what its positional values mean;
both are metadata and never change how it runs.
It may also declare Shell (sh, pwsh or cmd; empty is the platform's
own) and Cwd (the folder it runs in, with ~ for the home directory). A pack
that says Shell = "pwsh" runs through PowerShell 7 on every platform, so the
reader needs pwsh installed; the declaration removes the guess about which
shell the command meant, not the requirement that it exists.
Env adds environment entries, and Timeout (120s) limits each step. An
Env value should be a ${VAR} reference when it is a credential: a literal
under a secret-looking key is refused on export, import and save, because a
pack is a file people commit and share. A hand-edited config with one still
loads, with a warning.
A whole pack can describe itself:
[deploy]
Description = "Ship the API"
Exec = "rsync -az ./ {1}:/srv/api && ssh {1} 'systemctl restart api'"
Shell = "sh"
Cwd = "~/projects/api"
Env = { STAGE = "prod", TOKEN = "${DEPLOY_TOKEN}" }
Timeout = "120s"
Params = ["host"]
AllAlias = ["d"]A Steps command inherits the same target for every step.
crower import my-workflows.toml
crower import my-workflows.toml --overwrite # replace conflictsConflicts are reported by name; nothing is overwritten unless you ask.
crower share list # browse available packs
crower share pull docker-setup # install oneA registry is any HTTP server serving a manifest (index.json) plus
packs/<name>.toml β see
crower-resources for examples.
Warning
An exported command contains what you typed β server names, paths, sometimes
tokens, if the command carried one. Read the .toml before you commit it or
send it.
- Prefer
{1}-style parameters over baked-in hosts:ssh {1}shares,ssh deploy@10.0.0.5documents your network. - Never share a command whose text contains a secret; rotate it if you already have.
Β© 2025 Felipe Inoue Β· crower is MIT licensed Β· third-party notices