Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

cicdgen cli

devonfw-core edited this page Nov 22, 2021 · 7 revisions
Table of Contents

CICDGEN CLI

cicdgen is a command line interface that helps you with some CICD in a devonfw project. At this moment we can only generate files related to CICD in a project but we plan to add more functionality in a future.

Installation

$ npm i -g @devonfw/cicdgen

Usage

Global arguments

  • --version

    Prints the cicdgen version number
  • --help

    Shows the usage of the command

Commands

Generate.

This command wraps the usage of angular schematics CLI. With this we generate files in a easy way and also print a better help about usage.

Available schematics that generate the code:

Examples

  • Generate all CICD files related to a devon4j project

    $ cicdgen generate devon4j
  • Generate all CICD files related to a devon4ng project with docker deployment.

    $ cicdgen generate devon4ng --groupid com.devonfw --docker --registryurl docker-registry-devon.s2-eu.capgemini.com
  • Generate all CICD files related to a devon4node project with OpenShift deployment.

    $ cicdgen generate devon4ng --groupid com.devonfw --openshift --registryurl docker-registry-devon.s2-eu.capgemini.com --ocname default --ocn devonfw