Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yukaii/tag-manager
a simple CLI file tagger
https://github.com/yukaii/tag-manager
Last synced: 13 days ago
JSON representation
a simple CLI file tagger
- Host: GitHub
- URL: https://github.com/yukaii/tag-manager
- Owner: Yukaii
- Created: 2014-10-31T09:13:50.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-11-17T14:02:49.000Z (about 2 years ago)
- Last Synced: 2023-08-21T22:21:28.755Z (about 1 year ago)
- Language: Ruby
- Size: 113 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple File Tag Manager using Ruby and Clamp
## Overview
Inspire by my future Software Engineering Course Final Project(read the **Use Requirement** [here](https://hackpad.com/-Use-Requirement-RzuVlOBv6S9))The Project should be written in JAVA (WTF). However, I made a CLI version, implementing basic operations, including:
* add tag to files
* remove tag from files
* list current tags
* list all files with tags
* search file by tag namePowered by a smart CLI program framework, [clamp by mdub](https://github.com/mdub/clamp)
## Dependency
Use Bundler.
bundle intall
## Usage
![demo](1.png)
You can type `./tagmgr.rb --help` to see how to use.
Here are some examples:
```bash
# initialize our database
./tagmgr.rb init# add 'japanese' tag to files
./tagmgr.rb add --tag japanese Chinatsu_Izawa_01.png Kaera_Uehara_01.png# list files with tag names
./tagmgr.rb list# search by tag name
./tagmgr.rb search --tag japanese# remove specific tag from files
./tagmgr.rb remove --tag japanese Chinatsu_Izawa_01.png Kaera_Uehara_01.png# list used tags
./tagmgr.rb list tags
```