passy / golden_retriever

Apache License 2.0
0 stars 0 forks source link

CLI and indexer config #7

Open passy opened 8 years ago

passy commented 8 years ago

Build a CLI for cindex, store the directories etc. in an XDG-compliant config.

Scope

Set up a CLI for the index management, persist and read the settings. Don't actually do anything with it yet.

Dependencies

Unsure about configuration/persistence:

For v0.1, very basic management of directories.

# Add one new directory
gt-indexer add <dir>
gt-indexer rm <dir>
gt-indexer ls

Testing

The parser is heavily string-based, so even if it's just the direct user interface, I really want to have tests for them. Unit tests should be fine here. Should also get tests for the disk storage.

daithiocrualaoich commented 8 years ago

If you need a tie-breaker for the config question go with TOML.