Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface for registering a command using just an object.

Type parameters

  • S = DefaultState

Hierarchy

  • Plugin

Index

Properties

Properties

action

action: Action<S>

command

command: string

Command path. For example, <command> or <command> <subcommand>

Optional help

help: Help<S>

Optional sub

sub: Record<string, Command<S>>

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Protected property
  • Private method

Generated using TypeDoc