| 123456789101112131415 |
- import { EOL } from "os"
- import { Skill } from "../../../skill"
- import { bootstrap } from "../../bootstrap"
- import { cmd } from "../cmd"
- export const SkillCommand = cmd({
- command: "skill",
- builder: (yargs) => yargs,
- async handler() {
- await bootstrap(process.cwd(), async () => {
- const skills = await Skill.all()
- process.stdout.write(JSON.stringify(skills, null, 2) + EOL)
- })
- },
- })
|