github Effect-TS/effect @effect/cli@0.43.1

latest releases: @effect/sql-sqlite-wasm@0.11.1, @effect/sql-sqlite-node@0.12.1, @effect/sql-sqlite-bun@0.12.1...
9 days ago

Patch Changes

  • #3561 2df49c4 Thanks @IMax153! - Add Options.withFallbackPrompt to CLI

    You can now specify that a command-line option should fallback to prompting the
    user for a value if no value is specified.

    import * as Options from "@effect/cli/Options"
    import * as Prompt from "@effect/cli/Prompt"
    
    const name = Options.text("name").pipe(
      Options.withFallbackPrompt(
        Prompt.text({
          message: "Please provide your name"
        })
      )
    )

Don't miss a new effect release

NewReleases is sending notifications on new releases.