@ares-dev/cli
ares CLI
Last updated a year ago by ares-dev .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ares-dev/cli -g
SYNC missed versions from official npm registry.

@ares-dev/cli

ares command line utilities library.

NPM

Installation

npm install -g @ares-dev/cli

Usage

Initialize Project

Projects of following types can be generated:

  • client-javascript
  • client-javascript-react
  • client-typescript-react
  • server-javascript
  • server-typescript
# Create project directory.
mkdir -p ~/hello-world
cd ~/hello-world

# Generate & initialize project 'hello-world' with default template 'client-javascript'.
ares project init

# Generate & initialize project 'hello-world' with specified template.
ares project init -t <template>

# Generate & initialize project 'wallet' with template 'client-typescript-react'.
ares project init -t client-typescript-react wallet

Initialize Deployment

ares CLI generates terraform deployment descriptors based on project traits and command line options.

#
# Initialize deployment of stage "alpha".
#
# 'prefix' is prepended to generated aws resource names.
# 'dn' should be a managed domain, e.g. in aws route53. It is used
#    to generate staging domains (i.e. project.stage.domain.tld), ssl certificates etc.
# 'stage' User-defined identifier for staging, preferably enumerable,
#    e.g. "alpha", "beta" etc. "live" is reserved for production deployments.
#
ares deployment init --cloud aws --region eu-central-1 --prefix tld-domain --dn domain.tld --stage alpha

Current Tags

  • 0.1.16                                ...           latest (a year ago)

17 Versions

  • 0.1.16                                ...           a year ago
  • 0.1.15                                ...           a year ago
  • 0.1.14                                ...           a year ago
  • 0.1.13                                ...           a year ago
  • 0.1.12                                ...           a year ago
  • 0.1.11                                ...           a year ago
  • 0.1.10                                ...           a year ago
  • 0.1.9                                ...           a year ago
  • 0.1.8                                ...           a year ago
  • 0.1.7                                ...           a year ago
  • 0.1.6                                ...           a year ago
  • 0.1.5                                ...           a year ago
  • 0.1.4                                ...           a year ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 20
Last Day 0
Last Week 17
Last Month 4
Dependencies (6)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |