Skip to content

charley04310/blackout-cli-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackout - A simple, fast, and lightweight CLI copilot for your daily tasks.

Blackout is a simple, fast, and lightweight CLI copilot for your daily tasks. It's written in Rust and uses PawanOsman API as Large Language Model services.

blackout

Installation

Before using it, you need to generate an API key from PawanOsman discord server at #bot channel by typing /key. By default PawnOsman allowing you to consume the API only with 1 ip address. So if you want to change your IP address, run the following command:

blackout --reset-ip

Requirements

Run using Cargo

When you have installed Rust and generated an API key, you can run Blackout using Cargo:

$ cargo run -- --help

Build using Cargo

When you have installed Rust and generated an API key, you can run start building Blackout using Cargo:

$ cargo build --release

Moove the binary to /usr/local/bin:

$ sudo mv target/release/blackout /usr/local/bin/blackout

Usage

To get help about the commands, you can use the --help flag:

$ blackout --help

To get help about a specific command, you can use the -t for the technology and -a for action you want to get help about. For example, to get help about docker technology and delete all volumes action, you can use:

$ blackout -t docker -a 'delete all volumes'`

output should be like this:

─────────────────────────────────────────
 docker volume rm $(docker volume ls -q)
─────────────────────────────────────────

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages