icoa-cli 2.16.4 → 2.16.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -139,7 +139,7 @@ function printQuestion(q, answer) {
139
139
  console.log(chalk.yellow(' help') + chalk.gray(` ${helpLabel}`));
140
140
  console.log(chalk.yellow(' next') + chalk.gray(' / ') + chalk.yellow('prev') + chalk.gray(' move between questions'));
141
141
  console.log(chalk.yellow(' back') + chalk.gray(' pause and return to menu'));
142
- console.log(chalk.yellow(' lang es') + chalk.gray(' switch language'));
142
+ console.log(chalk.yellow(' lang') + chalk.gray(' view all languages / ') + chalk.yellow('lang es') + chalk.gray(' to switch'));
143
143
  console.log(chalk.gray(' ─────────────────────────────────────────'));
144
144
  }
145
145
  export function registerExamCommand(program) {
@@ -871,7 +871,7 @@ export function registerExamCommand(program) {
871
871
  const { getConfig: gc } = await import('../lib/config.js');
872
872
  const currentLang = gc().language || 'en';
873
873
  if (currentLang === 'en') {
874
- console.log(chalk.gray(' Questions in English. To switch language:'));
874
+ console.log(chalk.gray(' Questions in English. To switch language first:'));
875
875
  console.log(chalk.gray(' lang es (Español) · lang zh (中文) · lang ko (한국어) · lang ja (日本語)'));
876
876
  console.log(chalk.gray(' lang fr · lang ar · lang pt · lang to see all 15'));
877
877
  }
@@ -879,13 +879,7 @@ export function registerExamCommand(program) {
879
879
  console.log(chalk.green(` Language: ${currentLang}`));
880
880
  }
881
881
  console.log();
882
- const proceed = await confirm({
883
- message: chalk.white('Start demo exam?'),
884
- default: true,
885
- theme: { prefix: '', style: { message: (t) => t, defaultAnswer: (t) => chalk.green(t) } },
886
- });
887
- if (!proceed)
888
- return;
882
+ console.log(chalk.white(' Starting exam...'));
889
883
  const session = { ...DEMO_SESSION, startedAt: new Date().toISOString() };
890
884
  console.log();
891
885
  drawProgress(0, 'Preparing questions...');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icoa-cli",
3
- "version": "2.16.4",
3
+ "version": "2.16.6",
4
4
  "description": "ICOA CLI — The world's first CLI-native CTF competition terminal",
5
5
  "type": "module",
6
6
  "bin": {