bengler/checkpoint — pull request #8 by bjoerge (2012-10-01 10:21:35+00:00)
Title: Reorganize cli

I've reorganized the command line structure into something more coherent and (hopefully) intuitive. Reads like this:

```
$ checkpoint help
Tasks:
checkpoint help [TASK] # Describe available tasks or one specific task
checkpoint seed # Sets up some initial development realms
checkpoint domain SUBCOMMAND ...ARGS # View/manage domains
checkpoint identity SUBCOMMAND ...ARGS # View/manage identities
checkpoint realm SUBCOMMAND ...ARGS # View/manage realms
checkpoint session SUBCOMMAND ...ARGS # View/manage sessions

$ checkpoint domain help
Tasks:
checkpoint domain add DOMAIN -r, --realm=REALM # Add a domain to realm
checkpoint domain list # List domains

$ checkpoint realm help
Tasks:
checkpoint realm create NAME # create a development realm
checkpoint realm list # list all realms and their domains. Shows all god sessions for the realm (one per line).

$ checkpoint identity help
Tasks:
checkpoint identity become_god -s, --session=SESSION # Provide god permissions to identity.

$ checkpoint session help
Tasks:
checkpoint session create -r, --realm=REALM -s, --session=SESSION # Create new session to realm

```