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 aliases

Command name alises/shortcuts

appName

App name is "hx {name}"

find

Find a specific command or return null

list

List installed commands

log

Log name is "hx"

name

Command name

printLine

Print a line to stdout

run

Run the command

summary

Single line summary of the command for help

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.6 ∙ 21-Jul-2026 09:48 EDT