clik-engine API
    Preparing search index...

    Interface ConsoleCommand

    A registered console command.

    interface ConsoleCommand {
        description: string;
        handler: (args: string, log: ConsolePrinter) => void;
    }
    Index

    Properties

    Properties

    description: string

    Short description shown in help.

    handler: (args: string, log: ConsolePrinter) => void

    Handler receives the argument string and a log function.