@blinkmobile/server-cli

CLI to develop, test and deploy server-side HTTPS endpoints with BlinkMobile

Use the @oneblink/cli instead
Last updated 3 months ago by mymattcarroll .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @blinkmobile/server-cli 
SYNC missed versions from official npm registry.

blinkmobile / server-cli npm AppVeyor Status Travis CI Status Greenkeeper badge

CLI to develop, test and deploy server-side HTTPS endpoints with BlinkMobile

Installation

npm install -g @blinkmobile/cli @blinkmobile/identity-cli @blinkmobile/server-cli

Documentation

See the Documentation directory for more details.

Usage

blinkm server --help

# or, shorter
bm server --help
Usage: blinkm server <command>

Where command is one of:

  info, serve, scope, deploy, logs, serverless

Local development:

  info                        => displays project information
    --cwd <path>              => optionally set the path to project, defaults to current working directory
  serve                       => start a local development server using local API files
    --port <port>             => sets the port to use for server, defaults to 3000
    --cwd <path>              => optionally set the path to project, defaults to current working directory

Initial settings:

  scope                       => displays the current scope
    <project>                 => sets the project id
    --region <region>         => optionally sets the region
    --cwd <path>              => optionally set the path to project, defaults to current working directory

Deploying server side code:

  The deploy command requires a login to BlinkMobile before use.
  For help on the login and logout commands please see:
  https://github.com/blinkmobile/identity-cli#usage

  deploy                      => deploy the project
    --force                   => deploy without confirmation
    --env <environment>       => optionally sets the environment to deploy to, defaults to 'dev'
    --cwd <path>              => optionally set the path to project, defaults to current working directory
    --provision               => force full deployment, only use this if told to by support

Viewing server logs:

  logs                        => view logs for project
    --tail                    => keep listening for new logs in your terminal session
    --filter <filterPattern>  => optionally set a search filter, defaults to all logs
    --start-time <startTime>  => a unit in time to start fetching logs from (ie: 2010-10-20 or 1469705761), defaults to all logs
    --env <environment>       => optionally set the environment to view logs for, defaults to 'dev'
    --cwd <path>              => optionally set the path to project, defaults to current working directory

Create serverless project:

  serverless                            => create serverless project
    --deployment-bucket <bucket>        => set the deployment S3 bucket
    --execution-role <role>             => set the execution IAM Role ARN
    --vpc-security-groups <groups>      => comma separated list of VPC Security Group identifiers
    --vpc-subnets <subnets>             => comma separated list of VPC Subnet identifiers
    --bm-server-version <version>       => server version of @blinkmobile/sever-cli that the project was created with
    --env <environment>                 => optionally set the environment, defaults to 'dev'
    --cwd <path>                        => optionally set the path to project, defaults to current working directory
    --analytics-collector-token <token> => optionally add an analytics collector token
    --analytics-origin <origin>         => optionally add an analytics origin

Current Tags

  • 4.1.0-beta.2                                ...           beta (3 months ago)
  • 4.0.1                                ...           latest (3 months ago)

41 Versions

  • 4.1.0-beta.2                                ...           3 months ago
  • 4.1.0-beta.1                                ...           3 months ago
  • 4.0.1 [deprecated]           ...           3 months ago
  • 4.0.1-beta.1                                ...           3 months ago
  • 4.0.0 [deprecated]           ...           4 months ago
  • 4.0.0-beta.2                                ...           4 months ago
  • 4.0.0-beta.1                                ...           5 months ago
  • 3.4.0 [deprecated]           ...           6 months ago
  • 3.4.0-beta.2                                ...           6 months ago
  • 3.4.0-beta.1                                ...           6 months ago
  • 3.3.2 [deprecated]           ...           7 months ago
  • 3.3.2-beta.1                                ...           7 months ago
  • 3.3.1 [deprecated]           ...           7 months ago
  • 3.3.1-beta.2                                ...           7 months ago
  • 3.3.0 [deprecated]           ...           a year ago
  • 3.3.0-beta.4                                ...           a year ago
  • 3.3.0-beta.3                                ...           a year ago
  • 3.3.0-beta.2                                ...           a year ago
  • 3.3.0-beta.1                                ...           a year ago
  • 3.2.1 [deprecated]           ...           a year ago
  • 3.2.1-beta.1                                ...           a year ago
  • 3.2.0 [deprecated]           ...           2 years ago
  • 3.1.0 [deprecated]           ...           2 years ago
  • 3.0.0 [deprecated]           ...           2 years ago
  • 3.0.0-beta.1                                ...           2 years ago
  • 2.4.2 [deprecated]           ...           2 years ago
  • 2.4.2-beta.1                                ...           2 years ago
  • 2.4.0 [deprecated]           ...           2 years ago
  • 2.3.1 [deprecated]           ...           3 years ago
  • 2.3.0 [deprecated]           ...           3 years ago
  • 2.2.0 [deprecated]           ...           3 years ago
  • 2.1.0 [deprecated]           ...           3 years ago
  • 2.0.0 [deprecated]           ...           3 years ago
  • 1.0.0 [deprecated]           ...           3 years ago
  • 1.0.0-beta.6                                ...           3 years ago
  • 1.0.0-beta.5                                ...           3 years ago
  • 1.0.0-beta.4                                ...           3 years ago
  • 1.0.0-beta.3                                ...           3 years ago
  • 1.0.0-beta.2                                ...           3 years ago
  • 1.0.0-beta.1                                ...           3 years ago
  • 1.0.0-alpha.1                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 41
Last Month 82
Dependencies (30)
Dev Dependencies (14)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |