Skip to content

Commit

Permalink
fix(CLI) compile use new 'target' option rather than 'format'
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Simeon <jeromesimeon@me.com>
  • Loading branch information
jeromesimeon committed Oct 28, 2019
1 parent 3016f3c commit 720cc05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/concerto-cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ require('yargs')
});
}, (argv) => {
if (argv.verbose) {
Logger.info(`generate code in format ${argv.format} from models ${argv.ctoFiles} into directory: ${argv.output}`);
Logger.info(`generate code for target ${argv.target} from models ${argv.ctoFiles} into directory: ${argv.output}`);
}

return Commands.compile(argv.format, argv.ctoSystem, argv.ctoFiles, argv.output)
return Commands.compile(argv.target, argv.ctoSystem, argv.ctoFiles, argv.output)
.then((result) => {
Logger.info(result);
})
Expand Down

0 comments on commit 720cc05

Please sign in to comment.