| Crates.io | cutlie |
| lib.rs | cutlie |
| version | 0.1.0 |
| created_at | 2025-02-16 15:19:37.710515+00 |
| updated_at | 2025-02-16 15:19:37.710515+00 |
| description | Cutlie is a short cut tool for you. |
| homepage | |
| repository | https://github.com/kamilutkumavi0/cutlie |
| max_upload_size | |
| id | 1557832 |
| size | 28,775 |
Cutlie is a short cut tool for you.
To install Cutlie, you need to have Rust and Cargo installed on your system. You can install Rust and Cargo by following the instructions on the official Rust website.
Once you have Rust and Cargo installed, you can install Cutlie by running the following command:
cargo install cutlie
Cutlie provides a command-line interface for managing and running shortcuts for specific commands. Here are the available commands:
cutlie add <name> --value <command> [--description <description>]
Example:
cutlie add myssh --value "ssh user@192.168.1.1" --description "SSH to my server"
cutlie delete <name>
Example:
cutlie delete myssh
cutlie update <name> --value <new_command>
Example:
cutlie update myssh --value "ssh user@192.168.1.2"
cutlie run <name>
Example:
cutlie run myssh
cutlie list
Example:
cutlie list
Cutlie depends on the following libraries:
clap (version 4.5.28) with the "derive" featuredialoguer (version 0.11.0)serde (version 1.0.217) with the "derive" featurestrsim (version 0.11.1)toml (version 0.8.20)This project is licensed under the MIT License. See the LICENSE file for more information.
The project structure is as follows:
src/main.rs: The main entry point of the application.src/lib.rs: Contains the module declarations for the project.src/parser.rs: Handles command-line argument parsing using the clap library.src/runner.rs: Executes the commands using the std::process::Command module.src/tomlrw.rs: Reads and writes the configuration file (.cutlie.toml) using the toml and serde libraries.