Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clever-tools

Package Overview
Dependencies
Maintainers
3
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clever-tools

CLI tool to manage Clever Cloud applications

  • 0.5.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.2K
increased by262.84%
Maintainers
3
Weekly downloads
 
Created
Source

clever-tools

Command Line Interface for Clever Cloud.

Installation

npm install -g clever-tools

# Install completion scripts
install-clever-completion

How to use

Login

To use clever-tools, you have to login.

clever login

It will open a page in your browser. Copy the provided token and secret codes in the CLI.

Create an application

clever create <name> --type <type> \
  [--region <region>] \
  [--org <organisation>] \
  [--alias <alias>]

Where type is one of:

  • docker: for Docker-based applications
  • go: for Go applications
  • gradle: for applications launched with gradle
  • jar: for applications deployed as standalone jar files
  • war: for applications deployed as war files
  • play1: for Play1 applications
  • play2: for Play2 applications
  • sbt: for applications launched with SBT
  • maven: for applications launched with maven
  • node: for node.js applications
  • php: for PHP applications
  • python: for python27 applications
  • ruby: for ruby applications
  • static: for static (HTML only) websites

Where region is one of:

  • par (for Paris)
  • mtl (for Montreal)

--org allows you to chose the organisation in which your app is created.

--alias allows you to deploy your application several times on Clever Cloud (eg: production, testing, …)

clever link [--org <ORG-NAME>] <APP-NAME> [--alias <alias>]

Where APP-NAME is the name of your application, and ORG-NAME is the name of the organisation it's in. You can specify a complete application id instead of its name (in that case, --org can be omitted).

Deploy an application

clever deploy [--alias <alias>]

--alias allows you to deploy your application several times on Clever Cloud (eg: production, testing, …)

Application status

clever status [--alias <alias>]

Change application scale

clever scale [--alias <alias>] [--min-flavor <minflavor>] [--max-flavor <maxflavor>] [--min-instances <mininstances>] [--max-instances <maxinstances>]

Display help

You can display help about each command with clever help.

clever help
clever help deploy

Examples

  cd node_project
  clever login
  clever create "Node.js application" -t node -r mtl
  clever deploy

How to send feedback?

Send us an email! or submit an issue.

Keywords

FAQs

Package last updated on 27 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc