codegenerator-cli
v1.2.3
Published
panacloud cli
Downloads
8
Maintainers
Readme
Panacloud Command Line Interface
Panacloud, is the world's first API Ownership Economy platform. It is a multi-sided Ownership Platform For API-First Startups, SaaS API and App Developers, and Revenue-Based Investors (RBI). It fuses the API Economy with the Token and Ownership Economy. Technically, it merges serverless computing with AI, IoT, Blockchain, DeFi, Graph, and Quantum Computing Technologies.
Panacloud CLI speeds up serverless SaaS API and App project development by providing project scaffolding, on which more powerful serverless SaaS APIs and Apps can be built. It provides the developers the ability to create a project skeleton and scaffolding by giving a single command. The developer just defines the API specification, and selects the cloud services he/she wants to use. To develop QraphQL API the schema is required, and for REST APIs the Open API specification are needed. Given the specs the SaaS API project code including infrastructure as code (IaC) is automatically generated by the CLI tool. For IaC it uses AWS CDK constructs. The generated serverless SaaS API project scaffolding supports multi-tenant billing and monetering and is closely integrated with the Panacloud portal. The developer just needs to write the specific code required by the Multi-Tenant SaaS project. This greatly reduces custom developer coding and increases speed to market. GraphQL and Open REST APIs can be built by using the Panacloud CLI. The APIs may use Graph or Relational databases, etc. Initially the Panacloud CLI is generating code for AWS using TypeScript only. In future, we plan to add support for Azure and Google Cloud, and other languages as well.
We have also published detailed Tutorials to help you to learn AWS CDK.
Before getting started you need to install the following packages and libraries:
- Install Node.js
- Install AWS CLI Version 2.x
- Install AWS CDK Version 2
- Install Globally TypeScript
Now Globally Install Panacloud CLI:
npm install @panacloud/cli -g
Usage
$ npm install -g codegenerator-cli
$ panacloud COMMAND
running command...
$ panacloud (-v|--version|version)
codegenerator-cli/1.2.2 win32-x64 node-v14.16.1
$ panacloud --help [COMMAND]
USAGE
$ panacloud COMMAND
...
$ npm install -g codegenerator-cli
$ panacloud COMMAND
running command...
$ panacloud (-v|--version|version)
codegenerator-cli/1.2.1 win32-x64 node-v14.16.1
$ panacloud --help [COMMAND]
USAGE
$ panacloud COMMAND
...
$ npm install -g @panacloud/cli
$ panacloud COMMAND
running command...
$ panacloud (-v|--version|version)
@panacloud/cli/1.0.0-alpha.7 win32-x64 node-v14.16.1
$ panacloud --help [COMMAND]
USAGE
$ panacloud COMMAND
...
Commands
panacloud help [COMMAND]
display help for panacloud
USAGE
$ panacloud help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
panacloud init
Generates CDK code based on the given schema
USAGE
$ panacloud init
OPTIONS
-h, --help show CLI help
See code: src/commands/init.ts
panacloud help [COMMAND]
display help for panacloud
USAGE
$ panacloud help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
panacloud init
Generates CDK code based on the given schema
USAGE
$ panacloud init
OPTIONS
-h, --help show CLI help
See code: src/commands/init.ts
panacloud help [COMMAND]
display help for panacloud
USAGE
$ panacloud help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
panacloud init
Generates CDK code based on the given schema
USAGE
$ panacloud init
OPTIONS
-h, --help show CLI help
See code: src/commands/init.ts