optitag

Crates.iooptitag
lib.rsoptitag
version0.3.0
sourcesrc
created_at2023-04-15 12:47:10.269413
updated_at2023-04-16 13:32:35.518731
descriptionA simple command-line tool for tagging files
homepage
repositoryhttps://github.com/mhvsa/optitag
max_upload_size
id839905
size31,230
MichaƂ Sabiniarz (mhvsa)

documentation

README

Optitag

Optitag Program for Tidying Information with Tags And Grouping

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.

Usage

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:

Tag a file

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.

Get all tags for a file

optitag get /path/to/file.txt

This command will display all the tags associated with the file /path/to/file.txt.

Query files by tag

optitag query tag1 tag2

This command will display a list of all the files that have been tagged with both tag1 and tag2.

Remove tags from a file

optitag untag /path/to/file.txt tag1 tag2

This command will remove the tag1and the tag2 tags from the file /path/to/file.txt.

Clear the database

optitag clear

This command will clear all tags associated with all files.

Help

optitag help

This command will display Optitag's help menu.

Dependencies

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.

Known Issues and Future Development

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.

License and Contributions

Optitag is licensed under the MIT License, and outside contributors are welcome to submit issues, pull requests, or contact the author directly via email.

Documentation

No additional resources or documentation available at this time.

Commit count: 11

cargo fmt