cmd

package
v0.0.0-...-2b35e24 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PoolDirRel is the name of the generated pool directory (relative to the yep root)
	PoolDirRel string = "pool"
	// TempEmpty is the name of the temporary go file in the pool directory for startup
	TempEmpty string = "temp.go"
	// TempStructs is the name of the temporary go file in the pool directory used in stage 1
	TempStructs string = "temp_structs.go"
	// TempMethods is the name of the temporary go file in the pool directory used in stage 3
	TempMethods string = "temp_methods.go"
	// StructGen is the name of the generated script of stage 4
	StructGen string = "yep-temp.go"
)

Variables

View Source
var YEPCmd = &cobra.Command{
	Use:   "yep",
	Short: "YEP is an open source modular ERP",
	Long: `YEP is an open source modular ERP written in Go.
It is designed for high demand business data processing while being easily customizable`,
}

YEPCmd is the base 'yep' command of the commander

Functions

func StartServer

func StartServer(config map[string]interface{})

StartServer starts the YEP server. It is meant to be called from a project start file which imports all the project's module.

func UpdateDB

func UpdateDB(config map[string]interface{})

UpdateDB updates the database schema. It is meant to be called from a project start file which imports all the project's module.

Types

This section is empty.

Jump to

Keyboard shortcuts

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