import { z } from 'zod';
import { globalOptionsZod } from '../../Command.js';
import { app } from '../../utils/app.js';
import AnonymousCommand from '../base/AnonymousCommand.js';
import commands from './commands.js';
export const options = z.strictObject({ ...globalOptionsZod.shape });
class VersionCommand extends AnonymousCommand {
    get name() {
        return commands.VERSION;
    }
    get description() {
        return 'Shows CLI for Microsoft 365 version';
    }
    get schema() {
        return options;
    }
    async commandAction(logger) {
        await logger.log(`v${app.packageJson().version}`);
    }
}
export default new VersionCommand();
//# sourceMappingURL=version.js.map