ADF CLI fixes (#5674)

* safety checks and better path eval

* do not execute command on help

* rewrite 'update-version' command
This commit is contained in:
Denys Vuika
2020-05-06 11:18:38 +01:00
committed by GitHub
parent 2db9fb0aa9
commit 94e2e83e73
14 changed files with 195 additions and 138 deletions

View File

@@ -48,6 +48,7 @@ function main() {
if (process.argv.includes('-h') || process.argv.includes('--help')) {
program.outputHelp();
return;
}
if (!program.artifact || program.artifact === '' || !program.output || program.output === '') {