You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: cli/src/commands/deploy.command.ts
+8-21
Original file line number
Diff line number
Diff line change
@@ -4,27 +4,21 @@ import { cli } from "..";
4
4
import{cloneOrPullRepo}from"../utils/git";
5
5
6
6
exportconstdeployCommand=newCommand("deploy")
7
-
.description(
8
-
"Clone or pull latest git repository and (re)build docker-compose.yml"
9
-
)
7
+
.description("Clone or pull latest git repository and (re)build docker-compose.yml")
10
8
.argument("<url>","URL of the git repository")
11
-
.option(
12
-
"-b, --branch <branch>",
13
-
"Branch name to checkout before deploying",
14
-
"main"
15
-
)
9
+
.option("-b, --branch <branch>","Branch name to checkout before deploying","main")
16
10
.option(
17
11
"-d, --dir <dir>",
18
12
"Directory where the git repository should be cloned in. Will create a subfolder inside this directory (see option --folder)",
19
-
"./applications"
13
+
"./applications",
20
14
)
21
15
.option(
22
16
"-f, --folder <folder>",
23
-
"Folder name inside the applications directory that the repo is cloned to. If not provided, repository name will be used"
17
+
"Folder name inside the applications directory that the repo is cloned to. If not provided, repository name will be used",
24
18
)
25
19
.option(
26
20
"-r, --root <root>",
27
-
"Root directory inside the git repository where the docker-compose.yml is located that should be deployed. If not provided, repository root (.) will be used"
21
+
"Root directory inside the git repository where the docker-compose.yml is located that should be deployed. If not provided, repository root (.) will be used",
0 commit comments