Public Access
feat: basalt 0.0.1
This commit is contained in:
22 files changed
+1364
-1
No files matched your search
+24
@@ -0,0 +1,24 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
const oldModuleName = "github.com/FernandoJVideira/simple_bank"
|
||||
const srcDir = "embedded/api_tmpl"
|
||||
|
||||
type MainTemplateData struct {
|
||||
ModuleName string
|
||||
UseGRPC bool
|
||||
}
|
||||
|
||||
func init() {
|
||||
rootCmd.AddCommand(newCmd)
|
||||
}
|
||||
|
||||
var newCmd = &cobra.Command{
|
||||
Use: "new",
|
||||
Short: "Create a new Keystone project",
|
||||
Long: `Create a new Keystone project with the necessary structure and files.`,
|
||||
Run: genProject,
|
||||
}
|
||||
Reference in new issue
Block a user