#!/usr/bin/env node import yargs from 'yargs'; import { hideBin } from 'yargs/helpers'; import { updateCommand } from './commands/update'; yargs(hideBin(process.argv)) .scriptName('ritm-cli') .usage('$0 [options]') .command(updateCommand) .demandCommand(1, 'Введите команду') .help() .strict() .parse();