#plugin #customizable #syntax #action #component #interactive #lla

lla_plugin_utils

Blazing Fast and highly customizable ls Replacement with Superpowers

3 releases

new 0.3.10 Jan 6, 2025
0.3.9 Jan 4, 2025
0.3.8 Dec 28, 2024

#1991 in Parser implementations

Download history 97/week @ 2024-12-25 316/week @ 2025-01-01

413 downloads per month
Used in lla

MIT license

45KB
1K SLoC

lla_plugin_utils

Utility library for building lla plugins.

Core Components

UI Components

  • BoxComponent: Customizable bordered text boxes
  • HelpFormatter: Command help text formatting
  • KeyValue: Key-value pair display
  • List: List display with borders
  • Spinner: Progress indicator
  • TextBlock: Styled text with colors
  • InteractiveSelector: CLI selection menus

Plugin Infrastructure

  • BasePlugin: Base plugin implementation
  • ConfigManager: Plugin configuration handling
  • ActionRegistry: Plugin action registration and handling
  • ProtobufHandler: Protocol buffer message handling

Code Utilities

  • CodeHighlighter: Syntax highlighting for code snippets
  • format: File metadata formatting utilities
  • syntax: Code syntax highlighting support

Features

  • Configurable via TOML
  • Interactive CLI components
  • Syntax highlighting (optional)
  • Protobuf message handling
  • Action registration system

Dependencies

~5–14MB
~171K SLoC