cmd

package
v0.0.0-...-fad53ba Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2018 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PoolDirRel is the name of the generated pool directory (relative to the doxa root)
	PoolDirRel = "pool"
	// TempEmpty is the name of the temporary go file in the pool directory for startup
	TempEmpty = "temp.go"
)

Variables

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

DoxaCmd is the base 'doxa' command of the commander

Functions

func StartServer

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

StartServer starts the Doxa 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