1.1.65 β€’ Published 2 years ago

@infini-soft/cli v1.1.65

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

♾️ Infinisoft Kitchen Command Line Interface

Basic command line interface to help speed up development and continuous integration.

✨ Features

  • Module Federation
    • Scafold React Micro App
    • Scafold React Micro Container
  • OpenAPI 3.0
    • Create CRUD API
  • Typescript / Javascript

πŸ€– Coming soon

  • React Hook Factories
    • Generate CRUD Sdk
    • Scafold hook
  • Access our micro app
  • More templates
  • Code Generation
    • Typescript from json schema
    • Complete CRUD template
      • Front end CRUD SDK generation
      • OpenAPI Generated with services
  • Create your API on our site

πŸ“š Documentation

Get all documentation, examples and many more in the β˜• kitchen! Here

πŸ“¦ Install

$ yarn global add @infini-soft/cli
or
$ npm install @infini-soft/cli -g

πŸ”¨ Usage

Usage:
$ cli <command> <subcommands> [arguments] [options]

CLI is UN-attended unless specifying -p option

Commands
--------
api     create                  Generate basic CRUD OpenAPI 3.0
          -u <url>              Template url (try: https://storage.infini-soft.com/public/schemas/api/rest.json)
          -r <name>             Resource name
          -o <file>             Output json file
micro               
        create                  Create a new app from a template
          -t <container|micro>  Create from template type
          -n <name>             New app name

Kicthen Developer Commands          
--------------------------
hooks               
        create                  Scafold a new hook package from template
          -t <hook>             Create from template
          -n <name>             New hook name
template            
        publish                 Pack and upload template on the repo
          -n <name>             New template name
                    
Options
--------
        -p                      Prompt for answers
        --debug                 Debug mode

Examples Module Federation Apps

Create a new micro app

Creates a React micro app from our template. Ready to be configured in a module federation container.

$ cli micro create -t micro -n MyMicroApp

Create a new micro container

Creates a React micro app from our template. Ready to be configured in a module federation container.

$ cli micro create -t container -n MyContainer
$ cd MyContainer
$ yarn start

OpenAPI 3.0.1

CRUD Basic

Creates an API from template and output to api.json. It's possible to import in Swagger, AWS or any OpenAPI compatible.

$ cli api create -u https://storage.infini-soft.com/public/schemas/microapps/api/rest.json -n myapi -o api.json

Powered πŸš€ by Infinisoft Inc. Wanna cook software? come in the kitchen https://www.kitchen.infini-soft.com

1.1.65

2 years ago

1.1.64

2 years ago

1.1.63

2 years ago

1.1.62

2 years ago

1.1.61

2 years ago

1.1.60

2 years ago

1.1.59

2 years ago

1.1.58

2 years ago

1.1.57

2 years ago

1.1.56

2 years ago

1.1.54

2 years ago

1.1.53

2 years ago

1.1.52

2 years ago

1.1.49

2 years ago

1.1.48

2 years ago

1.1.45

2 years ago

1.1.43

2 years ago

1.1.42

2 years ago

1.1.41

2 years ago

1.1.40

2 years ago

1.1.39

2 years ago

1.1.38

2 years ago

1.1.35

2 years ago

1.1.32

2 years ago

1.1.31

2 years ago

1.1.30

2 years ago

1.1.29

2 years ago

1.1.28

2 years ago

1.1.27

2 years ago

1.1.23

2 years ago

1.1.21

2 years ago

1.1.20

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.7

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago