@swell/cli
Version:
Swell's command line interface/utility
22 lines (21 loc) • 820 B
TypeScript
import type { LocalApp } from './types/index.js';
import { SwellCommand } from './swell-command.js';
/**
* A base class for Swell CLI commands that do not require an app to be saved
* to the API. If your command requires an app to be saved to the API, extend
* the `RemoteAppCommand` class instead.
*
* This class extends the `SwellCommand` class and adds:
*
* - a config instance
* - a shorthand attribute for the app directory
*/
export declare abstract class AppCommand extends SwellCommand {
static baseFlags: {
'app-path': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
};
appPath: string;
swellConfig: LocalApp;
init(): Promise<void>;
protected initBaseFlags(): Promise<void>;
}