Diego Cabello

<<<Back to Ents

Date:

Words: 209

Draft: < 15 > · Most recent

Planned version to be 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 a YAML file and processes it to a datafile. Output varies on imlementation.

  • Usage: lents process file.yaml
  • Notes: no additional operators or arguments
  • Alias: parse

tagtofiles

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

Description: Manages relationships between one tag and many files

Alias: ttf

  • add
    • Usage: lents tagtofiles add <tag> <files>*
    • Description: creates links from one tag to \ge 1 files
    • Alias: assign
  • remove
    • Usage: lents tagtofiles remove <tag> <files>*
    • Description: removes a link one from one tag to \ge 1 files
    • Alias: rm

filetotags

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

Description: Manages relationships between one file and many tags

Alias: ftt

  • add
    • Usage: lents filetotags add <file> <tags>*
    • Description: creates links from one file to \ge 1 tags
    • Alias: assign
  • remove
    • Usage: lents filetotags remove <file> <tags>*
    • Description: removes links from one file to \ge 1 tags
    • Alias: rm

filter

Usage: lents filter [-flags] <tags>*

Description: Returns files associated with tags. The main command of XENTS, where the nesting comes into play. Differentiated from the tagtofiles command, where the nesting does not come into play.

<<<Back to Ents

Made with Sculblog