ncdo_clientgen
v1.0.86
Published
Client generator for NCDO
Downloads
35
Maintainers
Readme
NCDO_ClientGen
Copyright (c) 2017 - 2018 Robin Herbots Licensed under the MIT license (http://opensource.org/licenses/mit-license.php)
Generate a .NET client from a CloudDataObject Catalog (see CDO specification).
The generated client makes use of NCDO.
Prerequisites
- Node.js.
- .NET Core 2.x SDK.
Install
$ npm install ncdo_clientgen -g
or
$ npm install ncdo_clientgen --save-dev
and in package.json
...
"scripts": {
"genclient": "ncdo_clientgen http://<hostname>/static/CDOService.json --output ./"
...
$ npm run genclient
Usage
ncdo_clientgen <catalogUrl> [options]
options:
--output : outputpath for the client
--noclean : do not clear the current generated project
--framework : specify target framework (ex. netstandard20, net472, net461)
--bearer : token to pass in the Authorization header to access the catalog (if secured)
Example:
ncdo_clientgen http://<hostname>/static/CDOService.json --output ./