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

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