@iservu-inc/adf-cli 0.7.0 ā 0.7.1
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.
|
@@ -565,24 +565,17 @@ class Interviewer {
|
|
|
565
565
|
this.skipTracker.startQuestion(question.id);
|
|
566
566
|
}
|
|
567
567
|
|
|
568
|
-
// Get answer using editor for better multi-line support
|
|
569
|
-
console.log(chalk.gray(' (Your editor will open. Save and close to continue, or leave empty + save to skip)'));
|
|
570
568
|
console.log('');
|
|
571
|
-
|
|
572
|
-
// Show exit shortcut at bottom with padding
|
|
573
569
|
console.log(chalk.gray('ā'.repeat(60)));
|
|
574
|
-
console.log(chalk.yellow('š”
|
|
570
|
+
console.log(chalk.yellow('š” Type "skip" to skip ⢠Type "exit" to save & exit (resume with: adf init)'));
|
|
575
571
|
console.log(chalk.gray('ā'.repeat(60)));
|
|
576
|
-
console.log('');
|
|
577
572
|
|
|
578
573
|
const { answer } = await inquirer.prompt([
|
|
579
574
|
{
|
|
580
|
-
type: '
|
|
575
|
+
type: 'input',
|
|
581
576
|
name: 'answer',
|
|
582
|
-
message: '',
|
|
583
|
-
|
|
584
|
-
postfix: '.md',
|
|
585
|
-
default: ''
|
|
577
|
+
message: 'Your answer:',
|
|
578
|
+
prefix: ''
|
|
586
579
|
}
|
|
587
580
|
]);
|
|
588
581
|
|
|
@@ -693,23 +686,18 @@ class Interviewer {
|
|
|
693
686
|
|
|
694
687
|
if (followUp) {
|
|
695
688
|
console.log(chalk.yellow(`\nš¤ ${followUp.message}`));
|
|
696
|
-
console.log(chalk.yellow(` ${followUp.question}`));
|
|
697
|
-
console.log(chalk.gray(' (Your editor will open for follow-up answer)\n'));
|
|
689
|
+
console.log(chalk.yellow(` ${followUp.question}\n`));
|
|
698
690
|
|
|
699
|
-
// Show exit shortcut at bottom with padding
|
|
700
691
|
console.log(chalk.gray('ā'.repeat(60)));
|
|
701
|
-
console.log(chalk.yellow('š”
|
|
692
|
+
console.log(chalk.yellow('š” Type "exit" to save & exit (resume with: adf init)'));
|
|
702
693
|
console.log(chalk.gray('ā'.repeat(60)));
|
|
703
|
-
console.log('');
|
|
704
694
|
|
|
705
695
|
const { followUpAnswer } = await inquirer.prompt([
|
|
706
696
|
{
|
|
707
|
-
type: '
|
|
697
|
+
type: 'input',
|
|
708
698
|
name: 'followUpAnswer',
|
|
709
|
-
message: '',
|
|
710
|
-
|
|
711
|
-
postfix: '.md',
|
|
712
|
-
default: ''
|
|
699
|
+
message: 'Follow-up answer:',
|
|
700
|
+
prefix: ''
|
|
713
701
|
}
|
|
714
702
|
]);
|
|
715
703
|
|
package/package.json
CHANGED
|
Binary file
|