UNPKG

@swell/cli

Version:

Swell's command line interface/utility

23 lines (22 loc) 900 B
import { Config } from '@oclif/core'; import { SwellCommand } from '../swell-command.js'; export default class Login extends SwellCommand { static description: string; static flags: { force: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>; store: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>; }; static summary: string; constructor(argv: string[], config: Config); run(): Promise<void>; /** * Use the /user/switch API request to either get the session id for the * current store or create a session id for the given store id. * * @param sessionId - The session id for the current store * @param storeId - The store id to get the session id for * * @returns void */ private getAndSetStoreConfig; }