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

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