dhis2 / cli

Unified CLI for DHIS 2 development workflows
https://cli.dhis2.nu
BSD 3-Clause "New" or "Revised" License
14 stars 7 forks source link
cli synced-settings

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 hierarchy 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:

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

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: