0.0.6 • Published 2 months ago

vag_tools v0.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

README of vag_tools

Presentation

vag_tools is a nodejs package for managing git sub-repositories. It contains:

  • vag_core: a javascript library proposing all the featues via an API
  • vag: a CLI-app with the same features for the command-line
  • vagg: a Web-UI (starting a server and opening a UI-page in the browser) with the same features

Requirements

Installation

npm i -D vag_tools
npx vag --help

Config file

An example of config file for vag:

repositories:
  repos/parametrix:
    type: git
    url: git@github.com:charlyoleg2/parametrix.git
    version: main
  repos/parame_paxApps:
    url: https://github.com/charlyoleg2/parame_paxApps.git
    version: main
  parame51:
    url: https://github.com/charlyoleg2/parame51.git
    version: main

Usage in script

import { Vag } from 'vag_core';

Vag.version_short()

const vag = new Vag(argv.discoverDir, argv.deepSearch, argv.importYaml, argv.importDir);
await vag.init();

await vag.c_clone();
await vag.cd_checkout();
await vag.d_pull(argv.only_configured);
await vag.d_push(argv.only_configured);

Usage in command-line

npx vag --help
npx vag --importYaml=parametrix_repos.yml list
npx vag --importYaml=parametrix_repos.yml clone
0.0.6

2 months ago

0.0.5

2 months ago

0.0.4

2 months ago

0.0.3

2 months ago