@whook/whook
Version:
Build strong and efficient REST web services.
29 lines (28 loc) • 1.09 kB
TypeScript
import os from 'node:os';
import { type LogService } from 'common-services';
import { type WhookConfig } from '../services/BASE_URL.js';
import { type WhookPluginName } from '../services/WHOOK_RESOLVED_PLUGINS.js';
import { type WhookCommandHandler, type WhookCommandDefinition } from '../types/commands.js';
import { type WhookCommandsDefinitionsService } from '../services/COMMANDS_DEFINITIONS.js';
export declare const definition: {
readonly name: "ls";
readonly description: "Print available commands";
readonly example: "whook ls";
readonly arguments: [{
readonly name: "verbose";
readonly description: "Output extra information";
readonly schema: {
readonly type: "boolean";
};
}];
};
declare const _default: import("knifecycle").ServiceInitializer<{
CONFIG: WhookConfig;
WHOOK_PLUGINS?: WhookPluginName[];
COMMANDS_DEFINITIONS: WhookCommandsDefinitionsService;
log?: LogService;
EOL?: typeof os.EOL;
}, WhookCommandHandler<{
verbose?: boolean;
}, WhookCommandDefinition>>;
export default _default;