/ToolSave

Primary LanguagePython

ToolSave

ToolSave is a Python terminal utility designed to help you save unique or complex commands for future use. Rather than scouring the web for commands you know you'll need again, ToolSave allows you to store them conveniently. Commands are saved in JSON format, enabling easy transfer and use across different machines.

Features

  • Create your own command categories: Organize your commands in categories to find them easily the next time you need them.
  • Save Commands: Store any command that you might need in the future.
  • Easy command reuse: After saving a command, you wont need to remember its structure, ToolSave will only ask you for the parts the command needs and execute it with the right syntax.
  • JSON Format: Easily transferable and compatible with any machine.

Installation

To install ToolSave, simply clone the GitHub repository and run the install script:

git clone https://github.com/yourusername/toolsave.git
cd toolsave

chmod +x install.sh
sudo ./install.sh

Uninstall

To uninstall ToolSave, simply run the uninstall script:

cd toolsave
sudo ./uninstall.sh

Usage

To run the tool just write toolsave in your terminal

toolsave

Create a category

On the main menu, select the second option and enter your categories desired name.

Add a command

  1. To add a command select a created category.
  2. On the category menu select the "add command" option, and input your command with variable parts enclosed in curly braces {}.
Enter your command:

mkdir {directory name}

This way, when you go to execute the command in the future, when you select it toolsave will ask you for the variables you included in the command and execute it in the right order without you having to remember:

Enter the value for "directory name":