@pnp/cli-microsoft365
Version:
Manage Microsoft 365 and SharePoint Framework projects on any platform
21 lines • 676 B
JavaScript
import { z } from 'zod';
import { globalOptionsZod } from '../../../Command.js';
import ContextCommand from '../../base/ContextCommand.js';
import commands from '../commands.js';
export const options = z.strictObject({ ...globalOptionsZod.shape });
class ContextInitCommand extends ContextCommand {
get name() {
return commands.INIT;
}
get description() {
return 'Initiates CLI for Microsoft 365 context in the current working folder';
}
get schema() {
return options;
}
async commandAction() {
await this.saveContextInfo({});
}
}
export default new ContextInitCommand();
//# sourceMappingURL=context-init.js.map