UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

12 lines (9 loc) 295 B
import ScriptPlayer, { Script } from '../../../features/onboard/ScriptPlayer' const firstScript: Script = [ 'hello world', async (player) => { await player.executeCommand('first script command executed') }, ScriptPlayer.redirect('second'), ] export default firstScript