chore: generate
This commit is contained in:
parent
146ff8ad85
commit
ff4779ca11
1 changed files with 1 additions and 3 deletions
|
|
@ -45,8 +45,6 @@ export const effectCmd = <Args, A>(opts: {
|
||||||
// yargs typing wraps Args in ArgumentsCamelCase<WithDoubleDash<...>>; cast at the boundary.
|
// yargs typing wraps Args in ArgumentsCamelCase<WithDoubleDash<...>>; cast at the boundary.
|
||||||
const args = rawArgs as unknown as Args
|
const args = rawArgs as unknown as Args
|
||||||
const directory = opts.directory?.(args) ?? process.cwd()
|
const directory = opts.directory?.(args) ?? process.cwd()
|
||||||
await AppRuntime.runPromise(
|
await AppRuntime.runPromise(InstanceStore.Service.use((s) => s.provide({ directory }, opts.handler(args))))
|
||||||
InstanceStore.Service.use((s) => s.provide({ directory }, opts.handler(args))),
|
|
||||||
)
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue