Appy/cmd/asm.go

22 lines
453 B
Go
Raw Normal View History

2021-04-26 12:50:38 +00:00
package cmd
import (
"github.com/digarok/appy/core"
"github.com/spf13/cobra"
)
// 'appy asm' command
var asmCmd = &cobra.Command{
Use: "asm",
Short: "Assemble the source files in your project",
Long: `This will run your 6502/65816 assembler, such as Merlin32,
against all of the files specified for assembly in your project.`,
Run: func(cmd *cobra.Command, args []string) {
core.Assemble()
},
}
func init() {
rootCmd.AddCommand(asmCmd)
}