Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 1.42 KB

README.md

File metadata and controls

58 lines (46 loc) · 1.42 KB

lnmc

PyPI PyPI - Python Version PyPI - License Coverage Status Code style: black

Allows to create symbolic link in batches from a YAML file and consolidate them in a specific directory.

Install:

pip install lnmc

Usege:

lnmc addons.yml src/ destination/

Configuration File

lnmc as first argument needs a .yaml or .yml file. The directories, sub-directories and files that will be the target for symbolic links are specified in this file. For example.

reporting-engine:
  - report_xlsx
purchase-workflow:
  - purchase_landed_cost
pos:
  - pos_margin
partner-contact:
  - partner_vat_unique
  - base_location_nuts
  - base_location_geonames_import
  - base_location
mis-builder:
  - mis_builder
  - mis_builder_budget
# It will create symbolic links of all subdirectories and files
l10n-spain:

(Example of a typical Odoo project)

Development Install

git clone https://github.com/LuqueDaniel/lnmc.git
cd lnmc
python -m venv --prompt . .venv/
source .venv/bin/activate
pip install -e ".[dev]"