2
0

dinitctl.fish 1.8 KB

123456789101112131415161718192021222324
  1. # dinitctl
  2. # Autogenerated from man page /usr/share/man/man8/dinitctl.8.gz
  3. # Manually edited
  4. set commands start stop status restart wake release unpin unload reload list shutdown add-dep rm-dep enable disable setenv
  5. complete -f -c dinitctl -n "not __fish_seen_subcommand_from $commands" -l help -d 'Display brief help text and then exit'
  6. complete -f -c dinitctl -n "not __fish_seen_subcommand_from $commands" -l version -d 'Display version and then exit'
  7. complete -f -c dinitctl -n "not __fish_seen_subcommand_from $commands" -s s -l system -d 'Control the system init process (this is the default when run as root)'
  8. complete -f -c dinitctl -n "not __fish_seen_subcommand_from $commands" -s u -l user -d 'Control the user init process (this is the default when not run as root)'
  9. complete -f -c dinitctl -n "not __fish_seen_subcommand_from $commands" -l socket-path -s p -d 'Specify the path to the socket used for communicating with the service manage…'
  10. complete -f -c dinitctl -n "not __fish_seen_subcommand_from $commands" -l quiet -d 'Suppress status output, except for errors'
  11. complete -f -c dinitctl -n "not __fish_seen_subcommand_from $commands" -a "$commands"
  12. set service_management_commands start stop status restart wake release unpin unload reload
  13. complete -f -c dinitctl -n "__fish_seen_subcommand_from $service_management_commands" -xa '(dinitctl list | string match -r -g "^.{10} ([\w-]+)")'
  14. # complete -c dinitctl -l no-wait -d 'Do not wait for issued command to complete; exit immediately'
  15. # complete -c dinitctl -l pin -d 'Pin the service in the requested state'
  16. # complete -c dinitctl -l force -d 'Stop the service even if it will require stopping other services which depend…'
  17. # complete -c dinitctl -l ignore-unstarted -d 'If the service is not started or doesn\'t exist, ignore the command and return…'