Categorygithub.com/PoCInnovation/CodeBaseManager
module
0.0.0-20210129181804-1d0deca2a76e
Repository: https://github.com/pocinnovation/codebasemanager.git
Documentation: pkg.go.dev

# README

CodeBaseManager

Description

CodeBaseManager is a command line tool designed to ease the development of projects through multiple, single purpose, language independent, modules.

Each module are manage differently. By default, there are some modules but you can develop your own if you want. The final objective is to give a true open source tool that can help you to manage your codebase.

It will have a backend to hold information about the codebase, build system and such, of the project for the modules to use.

The project is compose of 3 services : the CLI, a backend and a watcher.

The CLI allow you to launch commands through the terminal who will control the watcher and backend. The watcher is a service who run continuously to get information about projects that wil be send to backend.

See below a schema of the current architecture

CMB-architecture

Installation

:warning: Requires go 1.14

 git clone https://github.com/PoCInnovation/CodeBaseManager
 cd CodeBaseManager
 ./install.sh

Quick Start

cbm module [command]
or
cbm help

If no command is provided then, depending on the module, you may enter a shell. This shell can execute a command at a time and the module's commands.

Configuration

Each codebase can be configured thanks to TOML file.

For example, it's possible to manage functional tests like this :

cbm-toml-example

Modules

A module fills up a specific task. In the future they will be able to interact with the backend and with each other (for specific features).

Current

ModulesDescriptionAliasesShell
serverAllows you to interact with CBM's backendnoneno
repositoryProvides helpers for the organization of the repository (as well as project)noneno
codebaseAllows to find informations about the codebasenoneyes
functional-testsAllows to test a binary through the use of TOML files to describe tests"ft"yes

Predicted

ModulesDescription
unit-testsAllows to write unit tests for your functions
buildAllows to describe a build system in a unique way
debugAllows to debug your program or functions

Dependencies

DependencyLicense
spf13/CobraApache License 2.0
BurntSushi/tomlMIT License
gin-gonic/ginMIT License
logrusorgu/auroraUnlicense License

Example

Here is an example of result what you can do with CBM

Find module

cbm-find-example

Cat module

cbm-cat-example

Functional tests

Config

cbm-test-example

Result

cbm-test-example


Maintainers

# Packages

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