Skip to content

Instantly share code, notes, and snippets.

@jbayer
Created January 10, 2015 01:48
Show Gist options
  • Save jbayer/fa6aa735f0266fc23588 to your computer and use it in GitHub Desktop.
Save jbayer/fa6aa735f0266fc23588 to your computer and use it in GitHub Desktop.
rhc help
$ rhc help
Usage: rhc [--help] [--version] [--debug] <command> [<args>]
Command line interface for OpenShift.
Getting started:
setup Connects to OpenShift and sets up your keys and domain
create-app Create an application
apps List all your applications
cartridges List available cartridges
add-cartridge Add a cartridge to your application
set-env Set one or more environment variable(s) to your application
logout End the current session
Working with apps:
tail Tail the logs of an application
port-forward Forward remote ports to the workstation
threaddump Trigger a thread dump for JBoss and Ruby apps
snapshot Save the current state of your application locally
git-clone Clone and configure an application's repository locally
Management commands:
account Display details about your OpenShift account
alias Add or remove a custom domain name for an app
app Commands for creating and managing applications
authorization Manage your authorization tokens
cartridge Manage your application cartridges
deployment Commands for deploying and managing deployments of an application
domain Add or rename the container for your apps
env Manages user-defined environment variables set on a given application
member Manage membership on domains and teams
region Display the regions and zones available on the OpenShift server
scp SCP a file to or from your application
server Manage your configured servers and check the status of services
ssh SSH into the specified application
sshkey Add and remove keys for Git and SSH
team Create or delete a team
Some management commands have nested actions - run 'rhc help <command>' for more info.
See 'rhc help <command>' for more information on a specific command. You can see a list of all commands with 'rhc help commands'. See 'rhc help options' for a list of global command-line options and information about the config file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment