PRLENTS (PRototype Rust LENTS) is a version of LENTS written in the style of Rust CLI tools like ripgrep, zoxide, and fd.
Commands
Usage:
lents <command> <operator> <arguments>
ENTS commands use inverse function mapping - one to many, not many to one. This is chosen so the first argument of one type can have many arguments (that are of a different type than the first and are all of a similar type) after it
process
Takes an ENTS file and processes it to a datafile.
- Usage:
lents process [tags.ents]
- Notes: no additional operators or arguments
- Alias:
parse
ttf
Usage:
lents ttf <add|remove> <arguments>*
Description: Manages relationships between one tag and many files
Alias: tagtofiles
add
- Usage:
lents ttf add <tag> <files>*
- Description: creates links from one tag to 1 files
- Alias:
assign
- Usage:
remove
- Usage:
lents ttf remove <tag> <files>*
- Description: removes a link one from one tag to 1 files
- Alias:
rm
- Usage:
ftt
Usage:
lents ftt <add|remove> <arguments>*
Description: Manages relationships between one file and many tags
Alias: filetotags
add
- Usage:
lents ftt add <file> <tags>*
- Description: creates links from one file to 1 tags
- Alias:
assign
- Usage:
remove
- Usage:
lents ftt remove <file> <tags>*
- Description: removes links from one file to 1 tags
- Alias:
rm
- Usage:
filter
Usage: lents filter [-flags] <tags>*
Description: Returns files associated with tags. The main command of
LENTS, where the nesting comes into play. Differentiated from the
ttf
command, where the nesting does not come into play.
Alias: fil
inspect
Usage: lents inspect <files>*
Description: Shows all the tags associated with a file.
Alias: insp
Roadmap
A single command alias gents
(for Global ENTS) can be
configured to run as a shorthand for a path, typically root
/
or home directory ~
. When looking for
tags.bson in another directory, it is specified as the argument for the
flag -d
.