-
-
Notifications
You must be signed in to change notification settings - Fork 46
/
deps_workspace.clj
29 lines (26 loc) · 1.22 KB
/
deps_workspace.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
(ns polylith.clj.core.help.deps-workspace
(:require [polylith.clj.core.util.interface.color :as color]))
(defn help [cm]
(str " Shows dependencies for the workspace.\n"
"\n"
" poly deps\n"
"\n"
" " (color/yellow cm "p \n")
" " (color/yellow cm "a u u\n")
" " (color/yellow cm "y s t\n")
" " (color/yellow cm "e e i\n")
" brick " (color/yellow cm "r r l\n")
" --------------\n"
" " (color/green cm "payer") " . x t\n"
" " (color/green cm "user") " . . x\n"
" " (color/green cm "util") " . . .\n"
" " (color/blue cm "cli") " x . .\n"
"\n"
" In this example, " (color/green cm "payer") " uses " (color/yellow cm "user") " from the src context, and " (color/yellow cm "util") " from\n"
" the test context (indicated by 't'). " (color/green cm "user") " uses " (color/yellow cm "util") " and " (color/blue cm "cli") " uses " (color/yellow cm "payer") ".\n"
" Each usage comes from at least one " (color/purple cm ":require") " statement in the brick."))
(defn print-help [color-mode]
(println (help color-mode)))
(comment
(print-help "dark")
#__)