| 1 | "@effect/cli/Options#all": |
| 2 | replacement: "Command.make(name, config)" |
| 3 | note: "Collect flags in the config record passed to Command.make; there is no standalone Flag.all." |
| 4 | "@effect/cli/Options#All.OptionsAny": |
| 5 | replacement: "Param.AnyFlag" |
| 6 | note: "Use the shared any-flag-parameter type." |
| 7 | "@effect/cli/Options#All.Return": |
| 8 | replacement: "Command.Command.Config.Infer" |
| 9 | note: "Infer the output of a command config record; standalone flag collections were removed." |
| 10 | "@effect/cli/Options#atLeast": |
| 11 | replacement: "Flag.atLeast" |
| 12 | note: "Use the moved combinator; v4 returns ReadonlyArray rather than NonEmptyArray." |
| 13 | "@effect/cli/Options#atMost": |
| 14 | replacement: "Flag.atMost" |
| 15 | note: "Use the moved combinator." |
| 16 | "@effect/cli/Options#between": |
| 17 | replacement: "Flag.between" |
| 18 | note: "Use the moved combinator; v4 validates bounds when constructing the parameter." |
| 19 | "@effect/cli/Options#boolean": |
| 20 | replacement: "Flag.Boolean + Flag.withDefault" |
| 21 | note: "Use Flag.Boolean(name).pipe(Flag.withDefault(false)) to preserve v3's omitted-flag default; bare Flag.Boolean is now required. --no-name is automatic and aliases are added with Flag.withAlias." |
| 22 | "@effect/cli/Options#choice": |
| 23 | replacement: "Flag.Literals" |
| 24 | note: "Use the moved constructor." |
| 25 | "@effect/cli/Options#choiceWithValue": |
| 26 | replacement: "Flag.ChoiceWithValue" |
| 27 | note: "Use the moved constructor." |
| 28 | "@effect/cli/Options#date": |
| 29 | replacement: "Flag.Date" |
| 30 | note: "Use the moved constructor." |
| 31 | "@effect/cli/Options#directory": |
| 32 | replacement: "Flag.Directory" |
| 33 | note: "Use mustExist=true for exists=yes and omit it for either; exists=no has no exact replacement." |
| 34 | "@effect/cli/Options#file": |
| 35 | replacement: "Flag.File" |
| 36 | note: "Use mustExist=true for exists=yes and omit it for either; exists=no has no exact replacement." |
| 37 | "@effect/cli/Options#fileContent": |
| 38 | replacement: "Flag.File + Flag.mapEffect" |
| 39 | note: "Parse a path and read it with FileSystem.readFile; no binary-content flag constructor remains." |
| 40 | "@effect/cli/Options#fileParse": |
| 41 | replacement: "Flag.FileParse" |
| 42 | note: "Pass the old format as an options field; v4 returns parsed content rather than a path/content tuple." |
| 43 | "@effect/cli/Options#fileSchema": |
| 44 | replacement: "Flag.FileSchema" |
| 45 | note: "Pass the old format as an options field and use a v4 Schema constraint decoder." |
| 46 | "@effect/cli/Options#fileText": |
| 47 | replacement: "Flag.File + Flag.mapEffect" |
| 48 | note: "Flag.FileText returns content only; read after Flag.File when the path/content tuple must be preserved." |
| 49 | "@effect/cli/Options#filterMap": |
| 50 | replacement: "Flag.filterMap" |
| 51 | note: "Use the moved combinator and replace the fixed message with an onNone function." |
| 52 | "@effect/cli/Options#float": |
| 53 | replacement: "Flag.Finite" |
| 54 | note: "Use the moved constructor." |
| 55 | "@effect/cli/Options#getHelp": |
| 56 | replacement: "none" |
| 57 | note: "Per-flag help introspection was removed; Command generates help internally." |
| 58 | "@effect/cli/Options#getIdentifier": |
| 59 | replacement: "none" |
| 60 | note: "Public flag identifier introspection was removed." |
| 61 | "@effect/cli/Options#getUsage": |
| 62 | replacement: "none" |
| 63 | note: "The public Usage tree was removed; Command generates a usage string internally." |
| 64 | "@effect/cli/Options#integer": |
| 65 | replacement: "Flag.Int" |
| 66 | note: "Use the moved constructor." |
| 67 | "@effect/cli/Options#isBool": |
| 68 | replacement: "none" |
| 69 | note: "No public flag-shape predicate remains; boolean-shape inspection is internal." |
| 70 | "@effect/cli/Options#isOptions": |
| 71 | replacement: "Param.isParam(value) && value.kind === Param.flagKind" |
| 72 | note: "Flags now use the shared Param representation and an explicit kind discriminator." |
| 73 | "@effect/cli/Options#keyValueMap": |
| 74 | replacement: "Flag.KeyValuePair" |
| 75 | note: "Renamed and now returns Record<string, string> rather than HashMap." |
| 76 | "@effect/cli/Options#map": |
| 77 | replacement: "Flag.map" |
| 78 | note: "Use the moved combinator." |
| 79 | "@effect/cli/Options#mapEffect": |
| 80 | replacement: "Flag.mapEffect" |
| 81 | note: "Use the moved combinator; mapping failures are CliError." |
| 82 | "@effect/cli/Options#mapTryCatch": |
| 83 | replacement: "Flag.mapTryCatch" |
| 84 | note: "Use the moved combinator; onError now returns a string rather than HelpDoc." |
| 85 | "@effect/cli/Options#none": |
| 86 | replacement: "omit the config entry" |
| 87 | note: "V4 Flag.Never is an always-failing sentinel, not v3's empty successful option set." |
| 88 | "@effect/cli/Options#optional": |
| 89 | replacement: "Flag.optional" |
| 90 | note: "Use the moved combinator; it still returns Option." |
| 91 | "@effect/cli/Options#Options": |
| 92 | replacement: "Flag.Flag" |
| 93 | note: "Options was renamed to Flag in effect/cli." |
| 94 | "@effect/cli/Options#Options.BooleanOptionsConfig": |
| 95 | replacement: "Flag.Boolean + Flag.withAlias + Flag.map" |
| 96 | note: "The config object was removed; aliases and value inversion are combinators, while custom negation names need application logic." |
| 97 | "@effect/cli/Options#Options.PathOptionsConfig": |
| 98 | replacement: "{ readonly mustExist?: boolean }" |
| 99 | note: "Path options are inline; true replaces exists=yes and omission replaces either. exists=no has no exact replacement." |
| 100 | "@effect/cli/Options#Options.Variance": |
| 101 | replacement: "Flag.Flag" |
| 102 | note: "The separate variance artifact was removed; Flag inherits the shared Param variance." |
| 103 | "@effect/cli/Options#OptionsTypeId": |
| 104 | replacement: "Param.isParam(value) && value.kind === Param.flagKind" |
| 105 | note: "The public Options type id was removed; use the Param guard and flag kind discriminator." |
| 106 | "@effect/cli/Options#orElse": |
| 107 | replacement: "Flag.orElse(() => fallback)" |
| 108 | note: "The fallback is now lazy; add explicit exclusivity validation if both flags must be rejected." |
| 109 | "@effect/cli/Options#orElseEither": |
| 110 | replacement: "Flag.orElseResult(() => fallback)" |
| 111 | note: "Either became Result and the fallback is lazy; v4 no longer rejects both flags being present." |
| 112 | "@effect/cli/Options#parse": |
| 113 | replacement: "flag.parse({ flags, arguments: [] })" |
| 114 | note: "Parsing is now a Param method over a Record and returns leftover arguments with the value; errors are CliError." |
| 115 | "@effect/cli/Options#processCommandLine": |
| 116 | replacement: "Command.runWith" |
| 117 | note: "Raw argv processing is now whole-command execution; no public standalone flag tokenizer remains." |
| 118 | "@effect/cli/Options#redacted": |
| 119 | replacement: "Flag.Redacted" |
| 120 | note: "Use the moved constructor." |
| 121 | "@effect/cli/Options#repeated": |
| 122 | replacement: "Flag.variadic" |
| 123 | note: "Renamed to variadic; pass optional min and max bounds." |
| 124 | "@effect/cli/Options#secret": |
| 125 | replacement: "Flag.Redacted" |
| 126 | note: "The deprecated Secret constructor was removed; use Redacted-backed input." |
| 127 | "@effect/cli/Options#text": |
| 128 | replacement: "Flag.String" |
| 129 | note: "Renamed from text to String." |
| 130 | "@effect/cli/Options#withAlias": |
| 131 | replacement: "Flag.withAlias" |
| 132 | note: "Use the moved combinator." |
| 133 | "@effect/cli/Options#withDefault": |
| 134 | replacement: "Flag.withDefault" |
| 135 | note: "Use the moved combinator; v4 also accepts an Effect fallback." |
| 136 | "@effect/cli/Options#withDescription": |
| 137 | replacement: "Flag.withDescription" |
| 138 | note: "Use the moved combinator." |
| 139 | "@effect/cli/Options#withFallbackConfig": |
| 140 | replacement: "Flag.withFallbackConfig" |
| 141 | note: "Use the moved combinator; invalid configuration becomes CliError.InvalidValue." |
| 142 | "@effect/cli/Options#withFallbackPrompt": |
| 143 | replacement: "Flag.withFallbackPrompt" |
| 144 | note: "Use the moved combinator; v4 can construct the Prompt lazily in Effect." |
| 145 | "@effect/cli/Options#withPseudoName": |
| 146 | replacement: "Flag.withMetavar" |
| 147 | note: "Renamed to withMetavar." |
| 148 | "@effect/cli/Options#withSchema": |
| 149 | replacement: "Flag.withSchema" |
| 150 | note: "Use the moved combinator with a v4 Schema constraint decoder." |