Terminal UI components and utilities

Apache-2.0 9.9k downloads
Updated 2 months ago Repository
terminaluicli

Run

wippy run wippy/terminal

Terminal

Terminal host for CLI applications.

Installation

entries:
  - name: terminal
    kind: ns.dependency
    component: wippy/terminal
    version: "*"

Terminal Host

Provides the default terminal host for CLI processes:

entries:
  - name: host
    kind: terminal.host
    meta:
      comment: Default terminal host
    hide_logs: false
    lifecycle:
      auto_start: true

CLI Commands

Register CLI commands via process entries:

entries:
  - name: my_command
    kind: process.lua
    meta:
      command:
        name: mycommand
        short: Description of command
    source: file://my_command.lua
    method: main

Run with:

wippy run mycommand [args...]