describe: t()

in src/commands/commit/index.ts [32:62]


        describe: t('dev_entry_describe').d('Entry file of the Routine'),
        type: 'string',
        demandOption: false
      });
  },
  handler: async (argv: ArgumentsCamelCase) => {
    handleCommit(argv);
  }
};

export default commit;

export async function handleCommit(argv: ArgumentsCamelCase) {
  if (!checkDirectory()) return;

  const projectConfig = getProjectConfig();
  if (!projectConfig) return logger.notInProject();

  if (!(await checkIsLoginSuccess())) return;

  await prodBuild(!!argv.minify, argv?.entry as string);

  try {
    const server = await ApiService.getInstance();
    const req: GetRoutineReq = { Name: projectConfig.name };
    const response = await server.getRoutine(req, false);
    let specName = response?.data.Envs[0].SpecName ?? '50ms';
    let action = 'Creating';
    let description;

    if (!response) {