mirror of
https://github.com/digarok/Appy.git
synced 2024-11-25 14:31:24 +00:00
22 lines
453 B
Go
22 lines
453 B
Go
|
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)
|
||
|
}
|