icoa-cli 2.16.5 → 2.16.7

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.
@@ -133,13 +133,15 @@ function printQuestion(q, answer) {
133
133
  }
134
134
  // Full menu on every question
135
135
  const remaining = help.max - help.used;
136
- const helpLabel = remaining > 0 ? `remove a wrong option (${remaining}/${help.max})` : (help.max < 8 ? 'used up — type more help for +3' : `used up (${help.used}/${help.max})`);
136
+ const helpLabel = remaining > 0
137
+ ? chalk.gray('remove a wrong option ') + chalk.yellow(`(${remaining}/${help.max})`)
138
+ : (help.max < 8 ? chalk.gray('used up — type ') + chalk.yellow('more help') + chalk.gray(' for +3') : chalk.gray(`used up (${help.used}/${help.max})`));
137
139
  console.log(chalk.gray(' ─────────────────────────────────────────'));
138
140
  console.log(chalk.yellow(' A/B/C/D') + chalk.gray(' answer this question'));
139
- console.log(chalk.yellow(' help') + chalk.gray(` ${helpLabel}`));
141
+ console.log(chalk.yellow(' help') + ' ' + helpLabel);
140
142
  console.log(chalk.yellow(' next') + chalk.gray(' / ') + chalk.yellow('prev') + chalk.gray(' move between questions'));
141
143
  console.log(chalk.yellow(' back') + chalk.gray(' pause and return to menu'));
142
- console.log(chalk.yellow(' lang es') + chalk.gray(' switch language'));
144
+ console.log(chalk.yellow(' lang') + chalk.gray(' view all languages / ') + chalk.yellow('lang es') + chalk.gray(' to switch'));
143
145
  console.log(chalk.gray(' ─────────────────────────────────────────'));
144
146
  }
145
147
  export function registerExamCommand(program) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icoa-cli",
3
- "version": "2.16.5",
3
+ "version": "2.16.7",
4
4
  "description": "ICOA CLI — The world's first CLI-native CTF competition terminal",
5
5
  "type": "module",
6
6
  "bin": {