aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/command/version.lux
blob: 640277699b8729a80c08e5b329cd2ac72371dad7 (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
      ["." async {"+" [Async]}]]]
    [tool
     [compiler
      ["." version]
      ["." language "_"
       ["#/." lux "_"
        ["#" version]]]]]
    [world
     ["." console {"+" [Console]}]]]]
  [///
   [command {"+" [Command]}]])

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