chore: generate
This commit is contained in:
parent
9b915e70bd
commit
52e288ea71
3 changed files with 26 additions and 18 deletions
|
|
@ -8,6 +8,12 @@ export const AgentsCommand = Command.make("agents", {}, () =>
|
|||
Effect.gen(function* () {
|
||||
yield* PluginBoot.Service.use((service) => service.wait())
|
||||
const agents = yield* AgentV2.Service.use((service) => service.all())
|
||||
process.stdout.write(JSON.stringify(agents.sort((a, b) => a.id.localeCompare(b.id)), null, 2) + EOL)
|
||||
process.stdout.write(
|
||||
JSON.stringify(
|
||||
agents.sort((a, b) => a.id.localeCompare(b.id)),
|
||||
null,
|
||||
2,
|
||||
) + EOL,
|
||||
)
|
||||
}),
|
||||
).pipe(Command.withDescription("List all agents"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue