Diego Cabello

<<<Back to Ents

LENTS (Local Extendable Nested Tagging System)

Date: 2025 Apr 14

Words: 270

Draft: < 19 > · Most recent

sha256sum: d9407e36087a2b792cb3e7dc7420d230c9df817d5bb6dcfbe037b77a071d4b98

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.

ttf

Usage: lents ttf <add|remove> <arguments>*

Description: Manages relationships between one tag and many files

Alias: tagtofiles

ftt

Usage: lents ftt <add|remove> <arguments>*

Description: Manages relationships between one file and many tags

Alias: filetotags

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.

<<<Back to Ents

Made with Sculblog