text: import program from 'commander';
  import main from './main.js';
  
  program
      .description('提供账号名、密码、口令，获取今年数据')
      .arguments('[loginurl] [mainurl] [username] [password] [token] [debug]')
      .action((loginUrl, mainUrl, username, password, token, debug = false) => {
          if (!username) {
              /* eslint-disable-next-line no-console */
              console.error('👻请提供账号名！');
              process.exit(1);
          }
          if (!password) {
              /* eslint-disable-next-line no-console */
              console.error('👻请提供密码！');
              process.exit(1);
          }
          if (!token) {
              /* eslint-disable-next-line no-console */
              console.error('👻请提供口令！');
              process.exit(1);
          }
  
          main(loginUrl, mainUrl, username, password, token, !!debug);
      });
  
  program.parse(process.argv);
  