aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/command/version.lux
blob: c61e796dfe28d3b6e80ab3442f047de2b3712ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(.using
 [library
  [lux "*"
   [control
    [concurrency
     ["[0]" async {"+" Async}]]]
   ["[0]" meta "_"
    ["[1]/[0]" version]]
   [tool
    [compiler
     ["[0]" version]]]
   [world
    ["[0]" console {"+" Console}]]]]
 [///
  [command {"+" Command}]])

(def: .public (do! console profile)
  (-> (Console Async) (Command Any))
  (console.write_line (version.format meta/version.latest)
                      console))