internal

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DevCmd = &cobra.Command{
	Use:   "dev",
	Short: "Rerun the dawn project if watched files changed",
	RunE:  devRunE,
}

DevCmd reruns the dawn project if watched files changed

View Source
var GenerateCmd = &cobra.Command{
	Use:     "generate",
	Aliases: []string{"g"},
	Short:   "Generate boilerplate code with different commands",
	RunE: func(cmd *cobra.Command, args []string) error {
		return cmd.Help()
	},
}

GenerateCmd generates boilerplate code with different commands

View Source
var ModuleCmd = &cobra.Command{
	Use:     "module NAME",
	Aliases: []string{"m"},
	Short:   "Generate a new dawn module",
	Example: moduleExamples,
	Args:    cobra.MinimumNArgs(1),
	RunE:    moduleRunE,
}

ModuleCmd generates a new dawn module

View Source
var NewCmd = &cobra.Command{
	Use:     "new PROJECT [module name]",
	Aliases: []string{"n"},
	Short:   "Generate a new dawn project",
	Long:    "Generate a new dawn web/application project",
	Example: newExamples,
	Args:    cobra.MinimumNArgs(1),
	RunE:    newRunE,
}

NewCmd generates a new dawn project

View Source
var VersionCmd = &cobra.Command{
	Use:   "version",
	Short: "Print the version number of dawn",
	Long:  `All software has versions. This is dawn's.`,
	Run:   versionRun,
}

VersionCmd prints the version number of dawn

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