CLI - thesleepingsage/yasb-wiki GitHub Wiki
YASB CLI (Command Line Interface)
The YASB CLI is a command line interface that allows you to interact with the YASB status bar. The CLI is a powerful tool that allows you to manage your YASB bar, start, stop, enable autostart, disable autostart, reload, update and watch the logs in the terminal.
Usage
yasbc [command] [options]
Commands
start
- Start the status bar.stop
- Stop the status bar.enable-autostart
- Enable autostart for the status bar on system boot.disable-autostart
- Disable autostart for the status bar on system boot.reload
- Reload the status bar configuration.update
- Update aplicattion to the latest version.log
- Show the status bar logs in the terminal.help
- Show the help message.
Options
--help
- Show the help message for the command.--silent
- Disable print messages forstart
,stop
andreload
--version
- Show the YASB version.
Note: You can use the
--silent
option with thestart
,stop
andreload
commands to prevent non-error messages from being displayed.
Autostart
To enable autostart for the status bar on system boot, use the following command:
yasbc enable-autostart
To disable autostart for the status bar on system boot, use the following command:
yasbc disable-autostart
To create task scheduler for autostart on windows, use the following command:
yasbc enable-autostart --task
To disable task scheduler for autostart on windows, use the following command:
yasbc disable-autostart --task
Note: Creating a task scheduler for autostart on Windows requires administrator privileges.