Commit 50fed0f1 authored by rockyl's avatar rockyl

init

parent acfe82e4
......@@ -11,7 +11,7 @@ const program = require('commander');
const {generateDeclareMap} = require('../src/index');
program
.version('1.0.2')
.version('1.0.3')
.description('scilla declare generator')
.option('-i, --input [string]', 'input file')
.option('-o, --output [string]', 'output file')
......@@ -24,6 +24,7 @@ if(!program.input || program.output){
}
const componentsPath = program.pathofcomponents || path.join(os.homedir(), '.scilla', 'components');
console.log('componentsPath: ', componentsPath);
const componentsSrcPath = path.join(componentsPath, 'src');
const tsconfig = fs.readJsonSync(path.join(componentsPath, 'tsconfig.json'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment