package
0.0.0-20210129181804-1d0deca2a76e
Repository: https://github.com/pocinnovation/codebasemanager.git
Documentation: pkg.go.dev

# README

CodeBaseManager/cli - Server

This module is one of the most important as it allows to directly interact with CBM's server

Overview

This section will give a brief overview of each command's capabilities.

Start & Stop

These two commands are pretty self explanatory, so here's a quick exemple of both:

    cbm server start
    cbm server stop

Add & Drop

These two commands allow you to respectively drop or add a repository to CBM's watch-list.

    cbm server add 'path/to/repository'
    cbm server drop 'repository-name'

List

This command will list some information's what CBM's server.

By default, if no arguments are provided, it will display CBM's watch-list (and is currently this only behavior of this command).

    cbm server list

Details

# Functions

Add: Check server state and Prepare repository path before calling addNewProject.
Drop: Get Repo information and send request to API in order to remove it from API.
No description provided by the author
GetBackendGlobalDirectory: Search global cbm install dir with env.
GetServerState: Check if Cbm-api is running with port in global CBM install.
List: Request API to list currently watched repository.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author