diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2024-02-19 22:29:41 +0000 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2024-02-19 22:29:41 +0000 |
commit | 0fa46f475e2f14cd798973c2598472782f142514 (patch) | |
tree | af8b51d57190a31a5d401b08f675e09cb2475dcd /src | |
parent | 2ea5305e81746bb60eca30d2171a5cc6b04ada4b (diff) | |
download | lustre-0fa46f475e2f14cd798973c2598472782f142514.tar.gz lustre-0fa46f475e2f14cd798973c2598472782f142514.zip |
:heavy_plus_sign: Upgrade glint to v0.16.0-rc1
Diffstat (limited to 'src')
-rw-r--r-- | src/lustre/cli/add.gleam | 2 | ||||
-rw-r--r-- | src/lustre/cli/build.gleam | 4 | ||||
-rw-r--r-- | src/lustre/cli/dev.gleam | 3 |
3 files changed, 4 insertions, 5 deletions
diff --git a/src/lustre/cli/add.gleam b/src/lustre/cli/add.gleam index 5323e8d..5fc53da 100644 --- a/src/lustre/cli/add.gleam +++ b/src/lustre/cli/add.gleam @@ -25,7 +25,7 @@ to bundle applications and act as a development server. } }) |> glint.description(description) - |> glint.count_args(glint.EqArgs(0)) + |> glint.unnamed_args(glint.EqArgs(0)) |> glint.flag("os", { let description = "" let default = get_os() diff --git a/src/lustre/cli/build.gleam b/src/lustre/cli/build.gleam index 2b939f3..1314f9e 100644 --- a/src/lustre/cli/build.gleam +++ b/src/lustre/cli/build.gleam @@ -76,7 +76,7 @@ JavaScript module for you to host or distribute. } }) |> glint.description(description) - |> glint.count_args(glint.EqArgs(0)) + |> glint.unnamed_args(glint.EqArgs(0)) |> glint.flag("minify", { let description = "Minify the output" let default = False @@ -150,7 +150,7 @@ present. }) |> glint.description(description) |> glint.named_args(["module_path"]) - |> glint.count_args(glint.EqArgs(1)) + |> glint.unnamed_args(glint.EqArgs(1)) |> glint.flag("minify", { let description = "Minify the output" let default = False diff --git a/src/lustre/cli/dev.gleam b/src/lustre/cli/dev.gleam index 75711bc..f561b39 100644 --- a/src/lustre/cli/dev.gleam +++ b/src/lustre/cli/dev.gleam @@ -20,7 +20,6 @@ import simplifile pub fn run() -> Command(Nil) { let description = " - " glint.command(fn(input) { @@ -82,7 +81,7 @@ pub fn run() -> Command(Nil) { } }) |> glint.description(description) - |> glint.count_args(glint.EqArgs(0)) + |> glint.unnamed_args(glint.EqArgs(0)) |> glint.flag("host", { let description = "" let default = "0.0.0.0" |