Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Dru Ibarra authored and Dru Ibarra committed May 12, 2011
1 parent 672ee22 commit 7bae30e
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions README.rst
Expand Up @@ -17,26 +17,33 @@ Usage
pingdom-cli COMMAND CHECK_NAME [PARAMS]

Commands:
add - add a site check
delete - delete a check by name
info - get JSON dump of check info
modify - modify a check
listnames - list all check names
listids - list all check ids

add
add a site check
delete
delete a check by name
info
get JSON dump of check info
modify
modify a check
listnames
list all check names
listids
list all check ids

Examples:

# List checks
pingdom-cli listnames
pingdom-cli listnames

# Add check
pingdom-cli add www.example.com
pingdom-cli add www.example.com

# Get check info
pingdom-cli info www.example.com
pingdom-cli info www.example.com

# Modifiy a check, in this case, pause it
pingdom-cli modify www.example.com '{"paused": true}'
pingdom-cli modify www.example.com '{"paused": true}'

# Delete check
pingdom-cli delete www.example.com
pingdom-cli delete www.example.com

0 comments on commit 7bae30e

Please sign in to comment.