Skip to content
github-actions edited this page Oct 21, 2024 · 5 revisions

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.
  • --version - Show the YASB version.

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.