This repository hosts a Bash script for displaying content within a visually appealing banner format in the terminal.
1. Clone this repository:
git clone https://github.com/emiara/slash-command.git
2. Navigate to the repository directory:
cd slash-command
**3. Install
chmod +x ./install.sh && sudo ./install.sh
Run the script with the following options:
slash [-c <content>]
Available options:
- -t : Specifies text on the header, overrides -c
- -c : Specifies a command to run with the banner
- --help: Displays this help message.
Examples:
- To display a simple banner:
- To display a banner and run assosiated command:
- The script automatically adjusts the banner width to match the terminal window size.
- If no content is specified using the
-c
option or the-t
option, a simple line of equals signs will be displayed.
Please feel free to contribute to this project!
- Submit issues for any bugs or feature requests.
- Create pull requests to suggest code changes or improvements.
This project is licensed under the MIT License: https://opensource.org/license/mit.