Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.72 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.72 KB

CodeBaseManager - Codebase (Repository Management)

The goal of this module is to allow the user to describe repository for their Project through simple TOML files.

Furthermore, Basic Cat and Find Tools (for files and functions) are implemented.

Repository

In .cbm folder, there is a toml file called repository.toml

This file allow you to configure some features such as:

Language = []
Modules = []
Tests = []

Details

Each line represent a feature that can be specified:

These fields are mandatory for now.

Fields Usage Type Remark
Language Project language list Array of string Mandatory
Modules Project sources dependencies Array of string Mandatory
Tests Folders that contains tests Array of string Mandatory

Codebase Tools

Theses tools allow the user to quickly find some information.

Fields Usage Description
Find cbm codebase find [args] Find requested files or functions
Cat cbm codebase cat [args] Display requested files or functions
Language Remark
C Normal, static and static inlines functions
Go Functions
Python Functions and methods, with decorators