ncdo_clientgen

1.0.86 • Public • Published

NCDO_ClientGen

Copyright (c) 2017 - 2018 Robin Herbots Licensed under the MIT license (http://opensource.org/licenses/mit-license.php)

donate

Generate a .NET client from a CloudDataObject Catalog (see CDO specification).

The generated client makes use of NCDO.

Prerequisites

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 ./

Package Sidebar

Install

npm i ncdo_clientgen

Weekly Downloads

64

Version

1.0.86

License

MIT

Unpacked Size

33.3 kB

Total Files

11

Last publish

Collaborators

  • robinherbots