https://github.com/markhu/orgit
organize items by taxonomy (logical hierarchy)
https://github.com/markhu/orgit
python
Last synced: 11 months ago
JSON representation
organize items by taxonomy (logical hierarchy)
- Host: GitHub
- URL: https://github.com/markhu/orgit
- Owner: markhu
- Created: 2019-02-27T17:40:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-27T20:45:58.000Z (over 7 years ago)
- Last Synced: 2025-03-23T19:47:36.279Z (over 1 year ago)
- Topics: python
- Language: Python
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# orgit
organize items by taxonomy (logical hierarchy)
This command-line script `orgit.py` accepts the following commands:
1. CREATE obj
2. LIST (no args)
3. MOVE obj
4. DELETE obj
The objects might be categories, or items.
The sample input shown here is also in the `input.txt` file:
```
CREATE fruits
CREATE vegetables
CREATE grains
CREATE fruits/apples
CREATE fruits/apples/fuji
LIST
CREATE grains/squash
MOVE grains/squash vegetables
CREATE foods
MOVE grains foods
MOVE fruits foods
MOVE vegetables foods
LIST
DELETE fruits/apples
DELETE foods/fruits/apples
LIST
```