Skip to content

Commit

Permalink
Merge pull request #15 from uilicious/nodejs-release
Browse files Browse the repository at this point in the history
Nodejs release
  • Loading branch information
PicoCreator authored Sep 6, 2021
2 parents 3640ac2 + 3c2d414 commit 8c91516
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/cli-command/project/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ module.exports = {
// Safe download mode handling
cmd.boolean("--skipExisting", {
description: "Skip existing files instead of overwriting them",
aliases: "--skip-existing"
aliases: "--skipExisting, --skip-existing"
})
cmd.boolean("--skip-existing", {
description: "(deprecated command) Skip existing files instead of overwriting them",
hidden: true
})

},
Expand Down
7 changes: 5 additions & 2 deletions src/cli-command/project/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ module.exports = {

// Safe download mode handling
cmd.boolean("--skipExisting", {
description: "Skip existing files instead of overwriting them",
aliases: "--skip-existing"
description: "Skip existing files instead of overwriting them"
})
cmd.boolean("--skip-existing", {
description: "(deprecated command) Skip existing files instead of overwriting them",
hidden: true
})

},
Expand Down
3 changes: 3 additions & 0 deletions uilicious-cli.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

nodejs "`dirname $0`/src/uilicious-cli.js" "$@"

0 comments on commit 8c91516

Please sign in to comment.