Skip to content

Commit e0787a7

Browse files
committed
by default we are prompting for opening vscode
1 parent 6aa1880 commit e0787a7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

git-mirror.ts

100644100755
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,13 @@ const cloneAction = async (options: CloneOptions, repo: string) => {
7070

7171
await new Command()
7272
.name("clone")
73-
.version("0.1.2")
73+
.version("0.1.3")
7474
.description("Clone/Fetch a Git repository into a 'Projects' directory")
7575
.arguments("<repo:string>")
7676
.option("-r, --root <rootDir>", "The root directory.", {
7777
default: `${HOME_DIR}/Projects`,
7878
})
79-
.option("-o, --open-vs-code", "Open the repository in VS Code.", {
80-
default: true,
81-
})
79+
.option("-o, --open-vs-code", "Open the repository in VS Code.")
8280
.option("--no-open-vs-code", "Do not open the repository in VS Code.")
8381
.option("--dry-run", "Print the command that would be run.")
8482
.action(cloneAction)

0 commit comments

Comments
 (0)