From 6d4950f84e4ec1d35dff95c9816d75f360d4a349 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Fri, 19 Apr 2019 18:49:43 -0400 Subject: Moved the CLI parser under "lux/control/parser/". --- stdlib/source/program/compositor/cli.lux | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'stdlib/source/program/compositor') 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 [ ] [(def: #export - (CLI Text) + (Parser Text) (cli.named 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))) -- cgit v1.2.3