npm

xc-cli

0.3.2 • Public • Published

One command to generate REST APIs and GraphQL APis for any database with code

Setup and Usage

npm install -g xc-cli

Usage: xc [options]

Options:
    open                            Opens xgenecloud Desktop App

    gen.new.rest                    Creates a new project and generates code for a DB URL
    gen.apis                        Generates REST APIs for db URLs   
    gen.apis.rest                   Generates REST APIs for db URLs
    gen.apis.graphql                Generates GraphQL APIs for db URLs
     
    gen.component                   Generates a Component 
    gen.rest.module                 Generates a Module
    gen.rest.module.router          Generates a Router
    gen.rest.module.middleware      Generates a Middleware
    gen.rest.module.service         Generates a Service
    
    gen.component                   Generates a Component
    gen.gql.module                  Generates a Module
    gen.gql.module.resolver         Generates a Resolver
    gen.gql.module.middleware       Generates a Resolver
    gen.gql.module.service          Generates a Resolver

    gen.gql.type                    Generates a GraphQL type class
    gen.gql.schema                  Generates Schema  

    db.migrate.init
    db.migrate.up
    db.migrate.down
    db.migrate.sync
    db.migrate.list
    db.migrate.clean

   
    add.env                  add an environment
    add.db                   add a database to environment
  
    help                     output usage information

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.3.20latest

Version History

VersionDownloads (Last 7 Days)Published
0.3.20
0.3.10
0.3.00
0.0.930
0.0.900
0.0.890
0.0.880
0.0.860
0.0.850
0.0.840
0.0.830
0.0.820
0.0.810
0.0.800
0.0.790
0.0.780
0.0.770
0.0.750
0.0.740
0.0.720
0.0.701
0.0.691
0.0.680
0.0.660
0.0.650
0.0.630
0.0.610
0.0.600
0.0.590
0.0.580
0.0.560
0.0.550
0.0.540
0.0.530
0.0.520
0.0.510
0.0.500
0.0.490
0.0.480
0.0.460
0.0.450
0.0.440
0.0.430
0.0.420
0.0.410
0.0.400
0.0.390
0.0.380
0.0.360
0.0.340
0.0.330
0.0.320
0.0.310
0.0.300
0.0.290
0.0.270
0.0.260
0.0.251
0.0.240
0.0.230
0.0.220
0.0.210
0.0.200
0.0.190
0.0.180
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.91
0.0.60
0.0.50
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i xc-cli

Homepage

xgene.cloud

Weekly Downloads

4

Version

0.3.2

License

Apache-2.0

Unpacked Size

105 kB

Total Files

23

Last publish

Collaborators

  • mertmit
  • wingkwong
  • o1lab
  • pranavxc