cool
This commit is contained in:
@@ -7,10 +7,10 @@ export function RUN_CLI(){
|
|||||||
c
|
c
|
||||||
.name('soupclown')
|
.name('soupclown')
|
||||||
.description('Soupclown system')
|
.description('Soupclown system')
|
||||||
|
.option('--showConfig', 'display the configured config')
|
||||||
|
.parse();
|
||||||
|
|
||||||
c.option('--showConfig', 'display the configured config')
|
const options = c.opts();
|
||||||
|
|
||||||
const options = c.parse().opts();
|
|
||||||
|
|
||||||
if(options.showConfig){
|
if(options.showConfig){
|
||||||
console.log(JSON.stringify(SC_CONFIG, null, 2))
|
console.log(JSON.stringify(SC_CONFIG, null, 2))
|
||||||
|
|||||||
Reference in New Issue
Block a user