taxo

Crates.iotaxo
lib.rstaxo
version0.1.0
sourcesrc
created_at2016-04-26 09:11:56.772424
updated_at2016-04-26 09:11:56.772424
descriptionCategorizes paths based on glob or regexp rules.
homepage
repositoryhttps://git.lrdesign.com/judson/taxo
max_upload_size
id4865
size8,207
Judson Lester (nyarly)

documentation

README

Taxo

Taxo is a little command line utility that takes as input a rules file and a path. It evaluates the rules and returns the value of the first rule that matches the path.

The original motivation was to enable the automatic sorting of code files into the appropriate editor (i.e. app vs. test).

Rule files look like this:

g **/*_test.rs test
g src/**.rs app
g test/**.rs test

g in the above stands for "glob", then the pattern itself, and finally the value of the rule.

The can get more complicated, especially since rules can be expressed with regular expressions, and both glob and regex rules can have options set.

Commit count: 0

cargo fmt