Giter Club home page Giter Club logo

appharbor-cli's Introduction

AppHarbor CLI

The AppHarbor CLI is used to manage AppHarbor applications from the command line.

For more about AppHarbor see https://appharbor.com/.

Setup

The CLI is known to work on Windows. Download and run the installer to get started.

Once installed, you can log in to create and administer AppHarbor applications. Use the -h switch to get more information about each command and any options available.

Example usage: appharbor deploy -e bin -e obj

This will deploy the application using the optional "excluded directory name" argument to avoid uploading compiled binaries. Also note the use of a command "alias". Aliases are enclosed in paranthesis in the list of available commands.

$ appharbor login
Username: friism
Password: ***************
Successfully logged in as friism

$ appharbor
Usage: appharbor COMMAND [command-options]

Available commands:

  app                         #  List your applications
  app create [name]           #  Create an application ("create")
  app delete                  #  Delete application
  app deploy                  #  Deploy current directory ("deploy")
  app info                    #  Get application details
  app link [slug]             #  Link directory to an application ("link")
  app log                     #  Get application log ("log")
  app open                    #  Open application on appharbor.com ("open")
  app unlink                  #  Unlink application from directory ("unlink")
  build                       #  List latest builds
  config add [key=value]      #  Add configuration variable to application
  config                      #  List all configuration variables
  config remove [key1 key2..] #  Remove configuration variable
  drain add [drain_url]       #  Add a log drain
  drain                       #  Show log drains and tokens
  drain remove [drain url]    #  Remove a log drain
  help                        #  Display help summary
  hostname add [hostname]     #  Add a hostname
  hostname                    #  List all associated hostnames
  hostname remove [hostname]  #  Remove hostname from application
  user login                  #  Login to AppHarbor ("login")
  user logout                 #  Logout of AppHarbor ("logout")
  user                        #  Show currently logged in user

Common options:
  -h, --help                  #  Show command help

Alias

If you use the CLI a lot you might want to create an alias for the appharbor executable. You can do this with a simple batch file called "ah.bat" in the CLI install directory. The file should have this content:

appharbor %*

After this you can simply call the commands with for instance ah config.

API

The CLI uses the AppHarbor API, documentation can be found here: http://support.appharbor.com/kb/api/api-overview

appharbor-cli's People

Contributors

friism avatar runesoerensen avatar tdctaz avatar

Watchers

 avatar

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.