Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApiDoctor = &cobra.Command{
Use: "doctor",
Short: "doctor command for check the required dependencies",
Long: `doctor command for check the required dependencies and
software needed to run the application.
Example:
$ ./monorepo doctor
$ ./monorepo doctor --help
`,
Run: doctor,
}
View Source
var ApiMigration = &cobra.Command{ Use: "migration", Short: "serve command for run the application", Long: `serve command for run the application. Example: $ ./monorepo migration $ ./monorepo migration --help `, Run: func(cmd *cobra.Command, args []string) { fmt.Println("migration command use up or down sub command") }, }
View Source
var ApiMigrationDown = &cobra.Command{
Use: "down",
Short: "down command for migration down the database",
Long: `down command for migration down the database.
Example:
$ ./monorepo migration down
$ ./monorepo migration down --help
`,
Run: migrationDown,
}
ApiMigrationDown sub command add
View Source
var ApiMigrationUp = &cobra.Command{
Use: "up",
Short: "up command for migration up the database",
Long: `up command for migration up the database.
Example:
$ ./monorepo migration up
$ ./monorepo migration up --help
`,
Run: migrationUp,
}
ApiMigrationUp sub command add
View Source
var ApiServe = &cobra.Command{
Use: "serve",
Short: "serve command for run the application",
Long: `serve command for run the application.
Example:
$ ./monorepo serve
$ ./monorepo serve --help
`,
Run: serve,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.