commands

package
v0.0.0-...-05212b3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 23 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL