Skip to content
DADI CLI is a command-line tool to help with the installation and customisation of the various services within the DADI platform
JavaScript
Branch: develop
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create CODEOWNERS Jul 30, 2018
entryPoints fix: properly handle connection to API Jun 17, 2019
lib feat: add more options to Publish setup command Dec 5, 2018
test feat: add clients-upgrade command Jun 14, 2019
.gitignore
.npmignore chore: add coverage dir to npmignore Dec 5, 2018
.travis.yml chore: update travis and coveralls Apr 30, 2019
LICENSE Initial commit Jul 11, 2017
README.md chore: update README to npx syntax Jun 17, 2019
app.js feat: add Publish entry point Dec 3, 2018
index.js add env comment to binary Aug 6, 2018
package-lock.json chore: update package-lock Apr 30, 2019
package.json chore: version 3.2.1 Jun 17, 2019

README.md

DADI CLI logo

npm (scoped) Coverage Status Build Status JavaScript Style Guide

DADI CLI

Overview

DADI CLI is a command-line tool to help with the installation and customisation of the various products of the DADI platform.

Usage

Commands always start with npx dadi-cli <product> <command>, taking different parameters and flags depending on the operation.

The command npx dadi-cli help shows a list of all the available commands for the various products, whilst npx dadi-cli help <product> and npx dadi-cli help <product> <command> provides detailed information about a product and a command, respectively.

Links

Development

To get started, run:

# Install dependencies
npm install

# Run the `npx dadi-cli help` command
node index.js help

By default, CLI will communicate with the live registry server at https://registry.dadi.tech. When developing, you might want to use your own local registry, in case you want to test assets that are not yet available on live.

To do this, grab a copy of the registry repository, start a local server, and tell CLI the URL of the registry to use.

# If your registry server is available at http://localhost:7100
REGISTRY_URL="http://localhost:7100" node index.js help

Licence

DADI is a data centric development and delivery stack, built specifically in support of the principles of API first and COPE.

Copyright notice
(C) 2019 DADI+ Limited support@dadi.tech
All rights reserved

This product is part of DADI.
DADI is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version ("the GPL").

If you wish to use DADI outside the scope of the GPL, please contact us at info@dadi.co for details of alternative licence arrangements.

This product may be distributed alongside other components available under different licences (which may not be GPL). See those components themselves, or the documentation accompanying them, to determine what licences are applicable.

DADI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The GNU General Public License (GPL) is available at http://www.gnu.org/licenses/gpl-3.0.en.html.
A copy can be found in the file GPL.md distributed with these files.

This copyright notice MUST APPEAR in all copies of the product!

You can’t perform that action at this time.