Documentation ¶
Index ¶
Constants ¶
View Source
const ( OFF = false ON = true BackendDir = ".cbm/backend/" EnvFileName = ".env" LocalUrl = "http://127.0.0.1" )
Variables ¶
View Source
var Port = ""
View Source
var State = OFF
Functions ¶
func Add ¶
func Add(repoName string)
Add: Check server state and Prepare repository path before calling addNewProject
func Drop ¶
func Drop(repo string)
Drop: Get Repo information and send request to API in order to remove it from API.
func GetBackendGlobalDirectory ¶
GetBackendGlobalDirectory: Search global cbm install dir with env.
func GetServerState ¶
func GetServerState() bool
GetServerState: Check if Cbm-api is running with port in global CBM install
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.