aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program
diff options
context:
space:
mode:
authorEduardo Julian2019-04-19 18:49:43 -0400
committerEduardo Julian2019-04-19 18:49:43 -0400
commit6d4950f84e4ec1d35dff95c9816d75f360d4a349 (patch)
treef48b6d793b4175316c5636878479dc348fae0394 /stdlib/source/program
parent0ed7cb3a7d07cf92be57a8f26355212bcee0325d (diff)
Moved the CLI parser under "lux/control/parser/".
Diffstat (limited to '')
-rw-r--r--stdlib/source/program/compositor/cli.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/program/compositor/cli.lux b/stdlib/source/program/compositor/cli.lux
index 8df1cc839..4453d5d36 100644
--- a/stdlib/source/program/compositor/cli.lux
+++ b/stdlib/source/program/compositor/cli.lux
@@ -1,8 +1,8 @@
(.module:
[lux #*
[control
- ["p" parser]
- ["." cli (#+ CLI)]]
+ ["p" parser
+ ["." cli (#+ Parser)]]]
[world
[file (#+ Path)]]]
## [///
@@ -21,7 +21,7 @@
(template [<name> <long>]
[(def: #export <name>
- (CLI Text)
+ (Parser Text)
(cli.named <long> cli.any))]
[source "--source"]
@@ -30,14 +30,14 @@
)
(def: #export configuration
- (CLI Configuration)
+ (Parser Configuration)
($_ p.and
(p.some ..source)
..target
..module))
(def: #export service
- (CLI Service)
+ (Parser Service)
($_ p.or
(p.after (cli.this "build") ..configuration)
(p.after (cli.this "repl") ..configuration)))