This is the official command-line tool for Appstax.
Manual installation: Download the latest release and copy the appropriate binary to somewhere on your system PATH
.
On windows, place appstax.exe
in c:\Windows\System32
or any custom PATH
you have configured in your environment variables.
Quick install on Mac OSX:, install the latest version from the terminal:
curl -s https://appstax.com/download/cli/install_osx.sh | sudo /bin/bash
Quick install on Linux:
curl -s https://appstax.com/download/cli/install_linux.sh | sudo /bin/bash
appstax init # Initialize current directory as an appstax app
appstax deploy # Deploy local files to <yourapp>.appstax.io
appstax info # Info about app configured in current directory
appstax open # Open your browser to the specified destination
appstax login # Log in (also done automatically from other commands)
appstax logout # Log out
appstax signup # Create new account
appstax serve # Run development http server on localhost:9000
appstax collection # Create and view collections
appstax find # Show objects from a collection
You can also type appstax help
to see a list of available commands.
You need go and goxc to build appstax-cli. Go is available from Homebrew: brew install go
, and goxc is automatically installed when running the build.
Run ./build.sh
to compile for your current platform. You will find the built artifacts in .godeps/bin
Run ./build.sh XC
to cross-compile. Built artifacts in .godeps/bin/appstax-xc/snapshot
cd .godeps/bin
, then appstax --help
to show available options.