DADI CLI is a command-line tool to help with the installation and customisation of the various products of the DADI platform.
Commands always start with
npx dadi-cli <product> <command>, taking different parameters and flags depending on the operation.
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.
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
DADI is a data centric development and delivery stack, built specifically in support of the principles of API first and COPE.
(C) 2019 DADI+ Limited firstname.lastname@example.org
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 email@example.com 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
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!