1
1
Fork 0
mirror of https://github.com/mcuadros/ascode synced 2024-05-09 09:06:32 +02:00
ascode/cmd/repl.go
2020-03-27 18:33:10 +01:00

20 lines
357 B
Go

package cmd
const (
REPLCmdShortDescription = "Run as interactive shell."
REPLCmdLongDescription = REPLCmdShortDescription + "\n\n" +
"The REPL shell provides the same capabilities as the regular `run`\n" +
"command."
)
type REPLCmd struct {
commonCmd
}
func (c *REPLCmd) Execute(args []string) error {
c.init()
c.runtime.REPL()
return nil
}