cdsify-gen
Creates early bound TypeScript interfaces to work with cdsify
.
Usage
-
Add authentication for your CDS Environment:
~$ npx node-cds-auth [tennant] [environment]
E.g.
~$ npx node-cds-auth contoso.onmicrosoft.com contosoorg.crm.dynamics.com
-
Initialise cdsify to create .cdsify.json config file:
~$ npx cdsify-gen init
-
At any time, you can re-generate the early bound types using:
~$ npx cdsify-gen
Installing Globally
If you would rather install cdsify-gen globally you can use:
~$ npm install -g cdsify-gen node-cds-auth
This will then allow you to simply use:
~$ node-cds-auth
~$ cdsify-gen
For more information see the cdsify project