icoa-cli 2.19.90 → 2.19.91
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.
- package/dist/repl.js +9 -2
- package/package.json +1 -1
package/dist/repl.js
CHANGED
|
@@ -179,16 +179,23 @@ function printSelectionMenu() {
|
|
|
179
179
|
console.log(chalk.gray(' ─────────────────────────────────────────────'));
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
182
|
-
// State 2: fully prepared.
|
|
182
|
+
// State 2: fully prepared. Exam entry is the primary CTA — list it FIRST
|
|
183
|
+
// and make the token format + origin obvious. Students landing here have
|
|
184
|
+
// already done demo; without a concrete example they stare at "<token>"
|
|
185
|
+
// and don't know what to type or where the token comes from.
|
|
183
186
|
const plural = stats.attempts === 1 ? 'attempt' : 'attempts';
|
|
184
187
|
console.log(chalk.green(' ✓ Demo completed ') + chalk.gray(`(${stats.attempts} ${plural})`));
|
|
185
188
|
console.log(chalk.green(' ✓ Environment ready'));
|
|
186
189
|
console.log(chalk.yellow(' → Enter your exam token to begin.'));
|
|
190
|
+
console.log(chalk.gray(' (10-char code from your organizer, starts with your country code like ') + chalk.cyan('UA') + chalk.gray(' — case-insensitive)'));
|
|
187
191
|
console.log();
|
|
188
192
|
console.log(chalk.gray(' ─────────────────────────────────────────────'));
|
|
193
|
+
console.log(chalk.bold.yellow(' exam <token>') + chalk.gray(' Enter exam (primary action — use your organizer-issued token)'));
|
|
194
|
+
console.log(chalk.gray(' format: ') + chalk.white('exam UAxxxxxxxx') + chalk.gray(' (2-letter country prefix + 8 chars)'));
|
|
195
|
+
console.log(chalk.gray(' ─────────────────────────────────────────────'));
|
|
196
|
+
console.log(chalk.gray(' Other commands:'));
|
|
189
197
|
console.log(chalk.white(' demo') + chalk.gray(` ${demoLine}`));
|
|
190
198
|
console.log(chalk.white(' exam setup') + chalk.gray(' Re-verify tool environment'));
|
|
191
|
-
console.log(chalk.bold.yellow(' exam <token>') + chalk.gray(' Enter exam with access token'));
|
|
192
199
|
console.log(chalk.white(' lang es') + chalk.gray(' Switch language (17 supported)'));
|
|
193
200
|
console.log(chalk.gray(' ─────────────────────────────────────────────'));
|
|
194
201
|
}
|