-
Notifications
You must be signed in to change notification settings - Fork 10
/
create.clj
33 lines (32 loc) · 1.58 KB
/
create.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
(ns leiningen.polylith.cmd.help.create)
(defn help []
(println " Create a component:")
(println)
(println " lein polylith create c[omponent] NAME [INTERFACE]")
(println " NAME = Component name")
(println " INTERFACE = Interface name. Same as component name if omitted.")
(println " --------------------------------------------------------")
(println " Create a system:")
(println)
(println " lein polylith create s[ystem] NAME [BASE]")
(println " NAME = System name")
(println " BASE = Base name. Same as system name if omitted.")
(println " --------------------------------------------------------")
(println " Create a workspace:")
(println)
(println " lein polylith create w[orkspace] WS NS")
(println " WS = Workspace name")
(println " NS = Namespace name or '-' to omit it.")
(println " It's recommended and good practice to give a namespace.")
(println " example:")
(println " lein polylith create c mycomponent")
(println " lein polylith create c mycomponent myinterface")
(println " lein polylith create component mycomponent")
(println " lein polylith create component mycomponent myinterface")
(println " lein polylith create s mysystem")
(println " lein polylith create s mysystem mybase")
(println " lein polylith create system mysystem")
(println " lein polylith create system mysystem mybase")
(println " lein polylith create w myworkspace -")
(println " lein polylith create w myworkspace com.my.company")
(println " lein polylith create workspace myworkspace com.my.company"))