class

HxCli

abstract class HxCli : AbstractMain

Haxall command line interface. To create a new hx command:

  1. Define subclass of HxCli
  2. Register type qname via indexed prop as "hx.cli"
  3. Annotate options and args using AbstractMain design

methods summary

Single line summary of the command for help

printLine

Print a line to stdout

aliases

Command name alises/shortcuts

log

Log name is "hx"

appName

App name is "hx {name}"

find

Find a specific command or return null

name

Command name

run

Run the command

list

List installed commands

aliases virtual Str[] aliases()

Command name alises/shortcuts

appName Str appName()

App name is "hx {name}"

find static HxCli? find(Str name)

Find a specific command or return null

list static HxCli[] list()

List installed commands

log virtual Log log()

Log name is "hx"

name abstract Str name()

Command name

printLine Void printLine(Str line)

Print a line to stdout

run abstract Int run()

Run the command. Return zero on success

summary abstract Str summary()

Single line summary of the command for help

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST