@sprucelabs/spruce-cli
Version:
Command line interface for building Spruce skills.
25 lines (23 loc) • 639 B
text/typescript
import { buildSchema } from '@sprucelabs/schema'
export default buildSchema({
id: 'nodeFeatureOptions',
name: 'Create node module',
description:
'Create a new node module, to be written in typescript, ready to rock!',
fields: {
destination: {
type: 'text',
defaultValue: '.',
},
name: {
type: 'text',
isRequired: true,
label: "What's the name of your module?",
},
description: {
type: 'text',
isRequired: true,
label: 'How would you describe your module?',
},
},
})