Skip to content

Commit c4cd68b

Browse files
Make --host-dir mandatory
1 parent 0d46831 commit c4cd68b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/prompts.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@
272272
[nil "--pat PAT" "A hub PAT"]
273273
;; required if not using positional args
274274
;; can not validate this without a host helper
275-
[nil "--host-dir DIR" "Project directory (on host filesystem)"]
275+
[nil "--host-dir DIR" "Project directory (on host filesystem)"
276+
:missing "you must specify a --host-dir option. This is the directory that will be provided to tool containers as /project."]
276277
;; required if not using positional args
277278
[nil "--platform PLATFORM" "current host platform"
278279
:validate [#(#{"darwin" "linux" "windows"} (string/lower-case %)) "valid platforms are Darwin|Linux|Windows"]]

0 commit comments

Comments
 (0)