Usage
Actions can be run either independently or as part of another entity, such as a Scaffold.
Using Predefined Actions
const cmd = new CommandAction({
command: 'echo',
args: ['hello']
})
cmd.run()
Using Actions in a Scaffold
import { Scaffold } from '@panda/scaffold'
new Scaffold({
actions: [
{
type: 'command',
command: 'echo',
args: ['hello']
}
]
})