@swell/cli
Version:
Swell's command line interface/utility
23 lines (22 loc) • 852 B
TypeScript
import { Config } from '@oclif/core';
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: any;
constructor(argv: string[], config: Config);
init(): Promise<void>;
protected initBaseFlags(): Promise<void>;
}