autoinstall/autostart-manage/bashly.yml

99 lines
2.5 KiB
YAML
Raw Permalink Normal View History

2024-01-08 22:37:31 +00:00
name: autostart-manage
help: Manage autostart
version: 0.1.3
2024-01-08 22:37:31 +00:00
dependencies:
2024-01-09 15:48:11 +00:00
tomlq: please install yq (https://github.com/kislyuk/yq)
2024-01-08 22:37:31 +00:00
environment_variables:
- name: HOSTNAME
help: The hostname to use. We will try to get the value automatically.
commands:
- name: completions
help: Generate bash completions
- name: list
help: List available programs
- name: info
help: Get the current status of all programs
- name: sync
help: Remove all programs from autostart and the re-enable all
- name: enable
help: Add a single program to autostart
args:
- name: program
required: true
help: Program to add to autostart
completions:
- $(autostart-manage list)
filename: systemctl.sh
- name: disable
help: Remove a single program from autostart
args:
- name: program
required: true
help: Program to add to autostart
completions:
- $(autostart-manage list)
filename: systemctl.sh
- name: restart
help: Restart programs from autostart
args:
- name: program
help: Program to add to autostart
default: "*"
completions:
- $(autostart-manage list)
filename: systemctl.sh
- name: start
help: Start programs from autostart
args:
- name: program
help: Program to start to autostart
default: "*"
completions:
- $(autostart-manage list)
filename: systemctl.sh
- name: status
help: Check status of programs from autostart
args:
- name: program
help: Program to check status on
default: "*"
completions:
- $(autostart-manage list)
filename: systemctl.sh
- name: stop
help: Stop programs from autostart
args:
- name: program
help: Program to stop
default: "*"
completions:
- $(autostart-manage list)
filename: systemctl.sh
- name: log
2024-01-09 15:48:11 +00:00
alias: logs
2024-01-08 22:37:31 +00:00
help: Show the log for a single program from autostart
args:
- name: program
required: true
help: Program to log
completions:
- $(autostart-manage list)
- name: exec
help: Execute a single program from autostart
args:
- name: program
required: true
help: Program to execute
completions:
- $(autostart-manage list)
- name: run
help: Run all programs
- name: run-wayland
help: Run all the wayland specific tasks and all programs
- name: run-xorg
help: Run all the xorg specific tasks and all programs