-
Notifications
You must be signed in to change notification settings - Fork 10
/
changes.clj
29 lines (28 loc) · 1.64 KB
/
changes.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 leiningen.polylith.cmd.help.changes)
(defn help []
(println " Show what has been changed since a specific point in time.")
(println)
(println " lein polylith changes ENTITY [ARG]")
(println " ENTITY = i[nterface] -> Show changed interfaces")
(println " c[omponent] -> Show changed components")
(println " b[ase] -> Show changed bases")
(println " s[ystem] -> Show changed systems")
(println)
(println " ARG = (omitted) -> Since last successful build, stored in bookmark")
(println " :last-successful-build in WS-ROOT/.polylith/time.edn. or")
(println " :last-successful-build in WS-ROOT/.polylith/git.edn if")
(println " you have CI variable set to something on the machine.")
(println " timestamp -> Since the given timestamp (milliseconds since 1970).")
(println " git-hash -> Since the given git hash if CI variable set.")
(println " bookmark -> Since the timestamp for the given bookmark in WS-ROOT/.polylith/time.edn or")
(println " since the git hash for the given bookmark in WS-ROOT/.polylith/git.edn if CI")
(println " variable set.")
(println)
(println " example:")
(println " lein polylith changes i")
(println " lein polylith changes c")
(println " lein polylith changes component")
(println " lein polylith changes b")
(println " lein polylith changes s 1523649477000")
(println " lein polylith changes s 7d7fd132412aad0f8d3019edfccd1e9d92a5a8ae")
(println " lein polylith changes s mybookmark"))