8000 GitHub - emiara/slash-command
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

emiara/slash-command

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡Slash command⚡

This repository hosts a Bash script for displaying content within a visually appealing banner format in the terminal.

Installation from source

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

Usage

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:

carbon(2)

  • To display a banner and run assosiated command:

carbon(5)

Additional Notes

  • 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.

Contributing

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.

License

This project is licensed under the MIT License: https://opensource.org/license/mit.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0