This repository has been archived on 2022-12-29. You can view files and clone it, but cannot push or open issues or pull requests.
|
export enum MenuType {
|
|
ExecCommand,
|
|
Reboot,
|
|
Shutdown,
|
|
SubMenu,
|
|
}
|
|
|
|
export interface MenuConfig {
|
|
display: string,
|
|
type: MenuType,
|
|
command?: string[],
|
|
subMenu?: MenuConfig[],
|
|
}
|
|
|
|
export interface MenuPrinter {
|
|
getSelection(): Promise<MenuConfig>;
|
|
}
|