Git Product home page Git Product logo

aerobatic-cli's Introduction

NPM Version NPM Downloads Build Status

aerobatic-cli

Command line interface for interacting with the Aerobatic static hosting platform.

Installation

npm install aerobatic-cli -g

This will make the aero command globally available. Run aero help for usage instructions:

Aerobatic - Professional static web publishing. (v1.0.28)

Usage:
    $ aero [command] [options]

Commands:
    account        Display a summary of the current Aerobatic account.
    apikey         Get the api key for the current Aerobatic account.
    create         Create a new Aerobatic website in the current directory
    delete         Delete the current website
    deploy         Deploy the website in the current directory.
    domain         Register a custom domain for the current website
    env            Set or retrieve environment variables
    info           Display a summary of the current website
    login          Login to your Aerobatic account
    logs           Tail the web logs for the current website
    rename         Rename the website
    switch         Switch to a different Aerobatic account
    versions       Manage website versions

    Type aero help COMMAND for more details

Complete docs available at: https://www.aerobatic.com/docs/cli

aerobatic-cli's People

Contributors

dvmvcgcg avatar dvonlehman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aerobatic-cli's Issues

[Feature Request] Delete custom domain / re-provision

I was to late to validate my domain, so the validation is timed out. Now I'm stuck not being able to delete the domain or restart the validation process.

I think there should be a delete functionality either way?

Can't authenticate

Hi,

I just upgraded the plugin, I can't however use it anymore. Every command produces:

/usr/local/lib/node_modules/aerobatic-cli/commands/create.js:68
        let nextCommand;
        ^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/aerobatic-cli/bin/aero.js:84:25)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:968:3

and the log

{"level":"error","message":"Error response from api: {\"message\":\"Not authenticated\",\"code\":\"tokenExpired\",\"statusCode\":401,\"url\":\"/apps/available\",\"headers\":{\"content-type\":\"application/json; charset=utf-8\",\"content-length\":\"94\",\"connection\":\"close\",\"date\":\"Fri, 26 May 2017 16:16:27 GMT\",\"x-amzn-requestid\":\"ab6d5f3f-422e-11e7-aa5e-f1f44740560e\",\"access-control-allow-origin\":\"*\",\"x-amzn-remapped-content-length\":\"94\",\"x-amzn-remapped-connection\":\"close\",\"cache-control\":\"no-cache\",\"etag\":\"W/\\\"5e-yMRHWuVACDR59HHfOcRe5cN6bLA\\\"\",\"x-powered-by\":\"Express\",\"x-amzn-trace-id\":\"sampled=0;root=1-592854db-629c4fc2f0826fd201dee1c1\",\"x-amzn-remapped-date\":\"Fri, 26 May 2017 16:16:27 GMT\",\"x-cache\":\"Error from cloudfront\",\"via\":\"1.1 d3389211a03760b83dfb110cc5d823db.cloudfront.net (CloudFront)\",\"x-amz-cf-id\":\"4BpnnUptfBe6nTuo-9HbUAMqA3Z-kegfGyyv1MwFlND-8rw0bCqrMA==\"}}","timestamp":"2017-05-26T16:16:27.332Z"}
 

Wrong documentation

The documentation on the +New website link tells me to install:
$ npm install aero-cli -g
That does not exist - "aerobatic-cli" does however (obviously) but is that the same?
Continuing with aerobatic-cli instead I try aero create which needs an API key. Again your documentation says nothing about this.

Switch Website / Application

What is the cli command to switch application / website?

I continually get this error:

Could not find application **id**

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.