lla File Tagger Plugin

August 16, 2026 ยท View on GitHub

A file tagging plugin for lla that provides persistent tag management.

Features

  • Add, remove, and list file tags
  • Persistent storage with efficient lookup
  • Color-coded tag display
  • Interactive commands
  • List all tags across files
  • Query files by tag

Configuration

Config file: ~/.config/lla/file_tagger/config.toml

[colors]
tag = "bright_cyan"        # Tag text
tag_label = "bright_green" # Tag label
success = "bright_green"   # Success messages
info = "bright_blue"      # Info messages
name = "bright_yellow"    # Name highlighting

Storage

Persistent tag data is stored at: ~/.config/lla/file_tags.txt

Usage

# Add tag
lla plugin run file_tagger add-tag -- "/path/to/file" "important"

# Remove tag
lla plugin run file_tagger remove-tag -- "/path/to/file" "important"

# List tags
lla plugin run file_tagger list-tags -- "/path/to/file"

# List all tags
lla plugin run file_tagger all-tags

# List files by tag
lla plugin run file_tagger files-by-tag -- "important"

# Help
lla plugin run file_tagger help

Display Examples

Default format:

document.pdf
Tags: [important] [work] [urgent]

Long format:

document.pdf
Tag: important
Tag: work
Tag: urgent