Releases: blunt1337/wtfcmd
Releases · blunt1337/wtfcmd
v1.2.1
v1.1.1
v1.1.0
Add stopOnError: true
on command definition
- name: my-command
cmd: command1; command2
stopOnError: true
desc: Run command1, and command2 if command1 succeeded
Add envs
object on command definition
- name: my-command
cmd: npm run start
envs:
NODE_ENV: production
Add template function {{ setEnv NAME "value" }}
- name: my-command
cmd: >
{{ setEnv "NODE_ENV" "production" }};
{{ setEnv .envName .envValue}};
{{ setEnv "RUNTIME_VALUE" }}"My runtime value";
Add some os functions like {{ if isBash }}
and {{ if isPowershell }}
- name: my-command
cmd: {{ if isBash }}echo "Hi linux user"{{ else }}echo "Hi windows user"{{ end }}
Unix update command: sudo -- sh -c 'rm -f /usr/local/bin/wtf && wget https://github.com/blunt1337/wtfcmd/releases/download/v1.1.0/wtf.linux -O /usr/local/bin/wtf && chmod +x /usr/local/bin/wtf'
v1.0.0
v0.0.8
Fix/improved builtin functions.
More info on http://wtf.blunt.sh/template