endpoints-sdk-cli
endpoints sdk cli
Last updated 18 days ago by hrdtbs .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install endpoints-sdk-cli 
SYNC missed versions from official npm registry.

matsuri-tech/endpoints-sdk-cli (mes)

Endpoints SDK for JavaScript

Usage

$ npm install -g endpoints-sdk-cli
$ mes COMMAND
running command...
$ mes (-v|--version|version)
endpoints-sdk-cli/2.0.5 darwin-x64 node-v13.8.0
$ mes --help [COMMAND]
USAGE
  $ mes COMMAND
...

Commands

mes add [REPOSITORY]

add service to dependencies & make endpoints files.

USAGE
  $ mes add [REPOSITORY]

OPTIONS
  -v, --version=version      latest or commit hash
  -w, --workspace=workspace  a path to workspace containing .endpoints.json

DESCRIPTION
  add service to dependencies & make endpoints files.

  1. make endpoints.config.json for version control.

  {
     "dependencies": {
       "service-name": {
         "version": "26177ed7e673daf0cc5a69e9793dd863424d272f",
         "repository": "git@github.com:[username/repository].git"
       }
     }
  }

  > service name is inferred from Repository name.

  2. make src/endpoints/[service-name].ts

EXAMPLES
  $ mes add [username/repository]
  $ mes add [username/repository] --version [commmit hash]
  $ mes add [username/repository] -v [commmit hash]
  $ mes add [username/repository] -v latest
  $ mes add [username/repository] --workspace [workspace directory]
  $ mes add [username/repository] -w [workspace directory]
  $ mes add /Users/.../local-repository/
  $ mes add ./local-repository
  $ mes add git@github.com:[username/repository].git
  $ mes add https://github.com/[username/repository].git

See code: src/commands/add.ts

mes help [COMMAND]

display help for mes

USAGE
  $ mes help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

mes install

generate endpoints files based on endpoints.config.json

USAGE
  $ mes install

See code: src/commands/install.ts

mes update [SERVICE]

update service version & regenerate endpoints files

USAGE
  $ mes update [SERVICE]

See code: src/commands/update.ts

Support of create-react-app

{
  "environment_identifier": "process.env.REACT_APP_ENV",
}

Current Tags

  • 2.0.6                                ...           latest (18 days ago)

23 Versions

  • 2.0.6                                ...           18 days ago
  • 2.0.5                                ...           3 months ago
  • 2.0.4                                ...           3 months ago
  • 2.0.3                                ...           3 months ago
  • 2.0.2                                ...           3 months ago
  • 2.0.0                                ...           3 months ago
  • 1.4.0                                ...           3 months ago
  • 1.3.0                                ...           5 months ago
  • 1.2.0                                ...           5 months ago
  • 1.1.0                                ...           5 months ago
  • 1.0.1                                ...           5 months ago
  • 1.0.0                                ...           5 months ago
  • 0.0.12                                ...           5 months ago
  • 0.0.11                                ...           5 months ago
  • 0.0.10                                ...           5 months ago
  • 0.0.9                                ...           5 months ago
  • 0.0.8                                ...           5 months ago
  • 0.0.7                                ...           5 months ago
  • 0.0.6                                ...           5 months ago
  • 0.0.5                                ...           5 months ago
  • 0.0.4                                ...           5 months ago
  • 0.0.3                                ...           5 months ago
  • 0.0.2                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 9
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (18)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |