@sprucelabs/spruce-cli
Version:
Command line interface for building Spruce skills.
24 lines (22 loc) • 619 B
text/typescript
import { buildSchema } from '@sprucelabs/schema'
export default buildSchema({
id: 'skillFeature',
name: 'Skill feature options',
fields: {
destination: {
type: 'text',
defaultValue: '.',
},
name: {
type: 'text',
isRequired: true,
label: "What's the name of your skill?",
hint: 'This marketing focused, like "8-bit Stories" or "Adventures".',
},
description: {
type: 'text',
label: 'How would you describe your skill?',
isRequired: true,
},
},
})