We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 551da9b commit 9aa9c70Copy full SHA for 9aa9c70
lib/cli.js
@@ -1,5 +1,9 @@
1
#!/usr/bin/env node
2
-// import { argv } from 'yargs';
3
-import sgcPrompt from './sgcPrompt';
+import promptConfig from './promptConfig';
4
5
-sgcPrompt();
+const cli = promptConfig;
+const config = cli.config();
6
+const choices = cli.choices(config);
7
+const questions = cli.questions(choices);
8
+
9
+cli.prompt(questions);
0 commit comments