Files
effect/migration/annotations/effect__cli__CliApp.yaml

16 lines
1010 B
YAML

"@effect/cli/CliApp#CliApp":
replacement: "Command.Command"
note: "The separate application wrapper was folded into the runnable v4 Command tree."
"@effect/cli/CliApp#CliApp.ConstructorArgs":
replacement: "none"
note: "Build the command with Command.make and withDescription, then pass version to Command.run; the old app constructor shape was removed."
"@effect/cli/CliApp#CliApp.Environment":
replacement: "Command.Environment"
note: "Adds ChildProcessSpawner and Stdio to FileSystem, Path and Terminal; NodeServices.layer and BunServices.layer provide all five."
"@effect/cli/CliApp#make":
replacement: "Command.make"
note: "Build the executable Command directly; there is no separate CliApp wrapper."
"@effect/cli/CliApp#run":
replacement: "Command.run"
note: "The CliApp wrapper was removed. Attach the execute function with Command.withHandler, then run the Command with its version; v4 reads arguments through the CLI environment instead of accepting args and execute at this call."