Crates.io | optitag |
lib.rs | optitag |
version | 0.3.0 |
source | src |
created_at | 2023-04-15 12:47:10.269413 |
updated_at | 2023-04-16 13:32:35.518731 |
description | A simple command-line tool for tagging files |
homepage | |
repository | https://github.com/mhvsa/optitag |
max_upload_size | |
id | 839905 |
size | 31,230 |
Optitag is a command-line tool written in Rust for tagging files with metadata. It allows you to assign tags to files, and then search and filter files based on those tags.
To get started with Optitag, you can install it using cargo
, the Rust package manager:
cargo install optitag
Once installed, you can use the following commands to interact with Optitag:
optitag tag /path/to/file.txt tag1 tag2 tag3
This command will assign the tags tag1
, tag2
, and tag3
to the file /path/to/file.txt
.
optitag get /path/to/file.txt
This command will display all the tags associated with the file /path/to/file.txt
.
optitag query tag1 tag2
This command will display a list of all the files that have been tagged with both tag1
and tag2
.
optitag untag /path/to/file.txt tag1 tag2
This command will remove the tag1
and the tag2
tags from the file /path/to/file.txt
.
optitag clear
This command will clear all tags associated with all files.
optitag help
This command will display Optitag's help menu.
Optitag is built in Rust, so you'll need a Rust toolchain installed on your system to build it. To install Rust, visit the Rust website and follow the instructions.
Optitag is a work in progress and hasn't been tested in a real-world setting, so there may be bugs or limitations that still need to be addressed.
In the future, we plan to add more query options and improvements to how the data is stored.
Optitag is licensed under the MIT License, and outside contributors are welcome to submit issues, pull requests, or contact the author directly via email.
No additional resources or documentation available at this time.