aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/command/version.lux
blob: 11883dd86286735ee2039ab813603d2f3a86d93c (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))