feat: add nfctl(ctl to start nf project)

This commit is contained in:
loveuer
2024-07-12 16:00:15 +08:00
parent 8a423c2887
commit 0f139cda98
14 changed files with 593 additions and 111 deletions

19
nft/nfctl/cmd/cmd.go Normal file
View File

@ -0,0 +1,19 @@
package cmd
import "github.com/spf13/cobra"
var (
Root = &cobra.Command{
Use: "nfctl",
Short: "nfctl: easy start your nf backend work",
}
)
func init() {
initNew()
Root.AddCommand(
versionCmd,
cmdNew,
)
}