Coder Social home page Coder Social logo

wss9247 / cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dhis2/cli

0.0 0.0 0.0 8.82 MB

Unified CLI for DHIS 2 development workflows

Home Page: https://cli.dhis2.nu

License: BSD 3-Clause "New" or "Revised" License

JavaScript 97.74% EJS 2.10% Shell 0.15%

cli's Introduction

D2 CLI

A unified CLI for DHIS2 development workflows.

dhis2-cli Compatible build Conventional Commits

Installation and Usage

See the documentation site for end-user installation and usage instructions

Conventions

The d2 command-line tool is structured as a collection of namespaces, each of which may include sub-namespaces and sub-commands. This heirarchy should follow one simple rule:

namespaces are nouns, commands are verbs

Each subsequent namespace should narrow the context in which a command (an action) will be performed. For example:

  • d2 cluster restart performs the action restart in the d2 cluster namespace
  • d2 style js apply performs the apply action in the js sub-namespace of the d2 style namespace

Anything following the action verb is either a positional argument or a flag (if preceded by - or --), i.e.:

  • d2 style js apply --all --no-stage tells the apply action to run on all files and not to stage the changes in git
  • d2 cluster restart dev gateway passes the arguments dev and gateway to the restart action, which tells the action which service to restart.

CLI Modules

Alias Executable Package Source Version
d2 d2 @dhis2/cli ./packages/main npm
d2 app d2-app @dhis2/cli-app ./packages/app npm
d2 app scripts d2-app-scripts @dhis2/cli-app-scripts dhis2/app-platform npm
d2 cluster d2-cluster @dhis2/cli-cluster ./packages/cluster npm
d2 create d2-create @dhis2/cli-create ./packages/create npm
d2 create app d2-create-app @dhis2/create-app ./packages/create-app npm
d2 style d2-style @dhis2/cli-style dhis2/cli-style npm
d2 utils d2-utils @dhis2/cli-utils ./packages/utils npm
d2 utils docsite d2-utils-docsite @dhis2/cli-utils-docsite dhis2/cli-utils-docsite npm
d2 utils cypress d2-utils-cypress @dhis2/cli-utils-cypress dhis2/cli-utils-cypress npm
d2 utils codemods d2-utils-codemods @dhis2/cli-utils-codemods dhis2/cli-utils-codemods npm
@dhis2/cli-helpers-engine dhis2/cli-helpers-engine npm
@dhis2/cli-helpers-template dhis2/cli-helpers-template npm

Report an issue

The issue tracker can be found in DHIS2 JIRA under the CLI project.

Deep links:

cli's People

Contributors

dependabot-preview[bot] avatar amcgee avatar varl avatar dhis2-bot avatar greenkeeper[bot] avatar dependabot[bot] avatar deboragaleano avatar mohammer5 avatar birkbjo avatar paschalidi avatar jenniferarnesen avatar plinnegan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.