Documentation
    Preparing search index...

    Type Alias CommandOptions

    CommandOptions: { allowUnknownFlags?: boolean; staysAlive?: boolean } & Record<
        string,
        any,
    >

    Static set of command options

    Type Declaration

    • OptionalallowUnknownFlags?: boolean

      Whether or not to allow for unknown flags. If set to false, the command will not run when unknown flags are provided through the CLI

      Defaults to false

    • OptionalstaysAlive?: boolean

      When flag set to true, the kernel will not trigger the termination process unless the command explicitly calls the terminate method.

      Defaults to false