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/app/commands/install/command.py
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,12 @@ def install_callback(
33
33
"-vd",
34
34
help="The domain where the nixopus view will be accessible (e.g. nixopus.com), if not provided you can use the ip address of the server and the port (e.g. 192.168.1.100:80)",
35
35
),
36
+
repo: str=typer.Option(
37
+
None, "--repo", "-r", help="GitHub repository URL to clone (defaults to config value)"
38
+
),
39
+
branch: str=typer.Option(
40
+
None, "--branch", "-b", help="Git branch to clone (defaults to config value)"
log_error "Invalid branch name. Branch names can only contain letters, numbers, dots, underscores, slashes, and hyphens."
37
+
exit 1
38
+
fi
39
+
}
40
+
20
41
# Show usage information
21
42
show_usage() {
22
43
cat <<EOF
@@ -26,6 +47,8 @@ This script installs the nixopus CLI and optionally runs 'nixopus install' with
26
47
27
48
CLI Installation Options:
28
49
--skip-nixopus-install Skip running 'nixopus install' after CLI installation
50
+
--repo REPOSITORY GitHub repository URL for CLI installation and passed to 'nixopus install' (default: https://github.com/raghavyuva/nixopus). When custom repo/branch is used, docker-compose-staging.yml will be used instead of docker-compose.yml
51
+
--branch BRANCH Git branch to use for CLI installation and passed to 'nixopus install' (default: master). When custom repo/branch is used, docker-compose-staging.yml will be used instead of docker-compose.yml
29
52
30
53
nixopus install Options (passed through to 'nixopus install'):
0 commit comments