Documentation ¶
Overview ¶
You can use the "packr clean" command to clean up this, and any other packr generated files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Docs = &cobra.Command{
Use: "docs",
Short: "init swagger docs",
Long: "tool for init swagger docs\nExample: \n bedrock docs\n bedrock docs --withoutInternal --withoutDependency\n bedrock docs -d internal/server/http -g server.go --withoutInternal --withoutDependency",
RunE: docs,
}
View Source
var New = &cobra.Command{
Use: "new [project name]",
Short: "create a bedrock project",
Long: "create a project using the repository template\nExample: \n bedrock new\n bedrock new bedrock-service\n bedrock new bedrock-service -d /tmp",
RunE: newProject,
}
View Source
var Run = &cobra.Command{
Use: "run",
Short: "run bedrock service",
Long: "run bedrock service\nExample: \n bedrock run",
RunE: run,
}
View Source
var Upgrade = &cobra.Command{
Use: "upgrade [version]",
Short: "self upgrade",
Long: "tool for self-upgrade the bedrock.\nExample: \n bedrock upgrade\n bedrock upgrade v1.0.7",
RunE: upgrade,
}
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.