Skip to content

Commit

Permalink
Version Packages (#3568)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Sep 7, 2024
1 parent 2df49c4 commit 1352d69
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 20 deletions.
19 changes: 0 additions & 19 deletions .changeset/sweet-nails-hang.md

This file was deleted.

22 changes: 22 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @effect/cli

## 0.43.1

### Patch Changes

- [#3561](https://github.com/Effect-TS/effect/pull/3561) [`2df49c4`](https://github.com/Effect-TS/effect/commit/2df49c44ee9c2504eb96507ce5dfb1fa57b33b18) 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.

```ts
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"
})
)
)
```

## 0.43.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/cli",
"version": "0.43.0",
"version": "0.43.1",
"type": "module",
"license": "MIT",
"description": "A library for building command-line interfaces with Effect",
Expand Down

0 comments on commit 1352d69

Please sign in to comment.