Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
374 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: executef
  3. # key: executef
  4. # --
  5. execute "${1:name}" do
  6. command "${2:ls -la}"
  7. creates "$ls{3:/tmp/something}"
  8. cwd "${4:/tmp}"
  9. environment ({${5:'HOME' => '/home/myhome'}})
  10. user "${6:root}"
  11. group "${7:root}"
  12. path "${8:['/opt/bin','/opt/sbin']}"
  13. timeout ${9:3600}
  14. returns ${10:0}
  15. umask "${11:022}umask"
  16. action :${12:run}
  17. end