Repository navigation
update
Felipe Inoue edited this page Nov 24, 2026
·
7 revisions
Change a stored command — its name, aliases, or the command itself.
crower update [command] [flags]| Flag | Effect |
|---|---|
-n, --name
|
New name |
-a, --alias
|
New aliases, comma-separated |
-e, --exec
|
New command text |
--icon |
New icon; an empty value removes it |
--group |
New group; an empty value removes it |
--description |
What the command is for; an empty value removes it |
--params |
Positional parameters, comma-separated or repeated; an empty value removes them |
--cwd |
Working directory the command runs in; an empty value removes it |
--shell |
Shell that runs the command (sh, pwsh, cmd); an empty value removes it |
--timeout |
Longest the command may run, as a Go duration (120s); an empty value removes it |
--here |
Run in your own shell through the shell hook; --here=false goes back to a subprocess |
-l, --last
|
Update the most recent entry |
-c, --create
|
Update the most recent create
|
-x, --execute
|
Update the most recent execute
|
crower update # interactive
crower update deploy # pick fields, interactively
crower update deploy -e "git pull && make" # change the command
crower update deploy -n release -a rel # rename and re-alias
crower update --last -e "make test" # edit what you just ranNote
Every update appends to the history, so the previous text is still reachable
with revert.
Note
A flag that is not given leaves its field alone; giving it an empty value
clears the field. Env has no flag — it holds values that look like secrets,
so it stays a configuration-file field. See
execute for what each field does at run time.
create · delete · list · 📖 Commands
© 2025 Felipe Inoue · crower is MIT licensed · third-party notices