{"action":"created","issue":{"url":"https://api.github.com/repos/praekeltfoundation/certbot/issues/2","repository_url":"https://api.github.com/repos/praekeltfoundation/certbot","labels_url":"https://api.github.com/repos/praekeltfoundation/certbot/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/praekeltfoundation/certbot/issues/2/comments","events_url":"https://api.github.com/repos/praekeltfoundation/certbot/issues/2/events","html_url":"https://github.com/praekeltfoundation/certbot/pull/2","id":150338022,"number":2,"title":"Initial CLI","user":{"login":"JayH5","id":1748643,"avatar_url":"https://avatars.githubusercontent.com/u/1748643?v=3","gravatar_id":"","url":"https://api.github.com/users/JayH5","html_url":"https://github.com/JayH5","followers_url":"https://api.github.com/users/JayH5/followers","following_url":"https://api.github.com/users/JayH5/following{/other_user}","gists_url":"https://api.github.com/users/JayH5/gists{/gist_id}","starred_url":"https://api.github.com/users/JayH5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JayH5/subscriptions","organizations_url":"https://api.github.com/users/JayH5/orgs","repos_url":"https://api.github.com/users/JayH5/repos","events_url":"https://api.github.com/users/JayH5/events{/privacy}","received_events_url":"https://api.github.com/users/JayH5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-22T10:56:24Z","updated_at":"2016-04-22T11:17:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/praekeltfoundation/certbot/pulls/2","html_url":"https://github.com/praekeltfoundation/certbot/pull/2","diff_url":"https://github.com/praekeltfoundation/certbot/pull/2.diff","patch_url":"https://github.com/praekeltfoundation/certbot/pull/2.patch"},"body":"This is just what I think the CLI should look like. I may be getting slightly ahead of myself. There are a few things I've learnt from the Consular CLI and have made simpler (removed timeout and fallback options, removed `--purge` - want to make that default behaviour, renamed some things, added `--advertise` for better Docker compatibility).\r\n\r\nFor  reference, [here](https://github.com/universalcore/consular/blob/develop/consular/cli.py#L7-L51) is the Consular CLI code.\r\n\r\n```\r\n> $ certbot --help\r\nUsage: certbot [OPTIONS]\r\n\r\n  A tool to automatically request, renew and distribute Let's Encrypt\r\n  certificates for apps running on Seed Stack.\r\n\r\nOptions:\r\n  --email TEXT          Email address for Let's Encrypt certificate\r\n                        registration and recovery contact  [required]\r\n  --storage-dir TEXT    Path to directory for storing certificates\r\n  --marathon TEXT       The address for the Marathon HTTP API\r\n  --listen TEXT         The address of the interface to bind to to receive\r\n                        Marathon's event stream\r\n  --port INTEGER        The port to bind to to receive Marathon's event stream\r\n  --advertise TEXT      The address to advertise to Marathon when registering\r\n                        for the event stream\r\n  --consul TEXT         The address for the Consul HTTP API\r\n  --consul-prefix TEXT  Prefix for all paths to certificates in Consul's\r\n                        key/value store\r\n  --poll INTEGER        Periodically sync Marathon's state with Consul's every\r\n                        _n_ seconds\r\n  --logfile FILENAME    Where to log output to (default stdout)\r\n  --debug               Log debug output\r\n  --help                Show this message and exit.\r\n```"},"comment":{"url":"https://api.github.com/repos/praekeltfoundation/certbot/issues/comments/213384772","html_url":"https://github.com/praekeltfoundation/certbot/pull/2#issuecomment-213384772","issue_url":"https://api.github.com/repos/praekeltfoundation/certbot/issues/2","id":213384772,"user":{"login":"jerith","id":43731,"avatar_url":"https://avatars.githubusercontent.com/u/43731?v=3","gravatar_id":"","url":"https://api.github.com/users/jerith","html_url":"https://github.com/jerith","followers_url":"https://api.github.com/users/jerith/followers","following_url":"https://api.github.com/users/jerith/following{/other_user}","gists_url":"https://api.github.com/users/jerith/gists{/gist_id}","starred_url":"https://api.github.com/users/jerith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerith/subscriptions","organizations_url":"https://api.github.com/users/jerith/orgs","repos_url":"https://api.github.com/users/jerith/repos","events_url":"https://api.github.com/users/jerith/events{/privacy}","received_events_url":"https://api.github.com/users/jerith/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T11:17:59Z","updated_at":"2016-04-22T11:17:59Z","body":"`--server` is very generic, and we talk to at least three different \"servers\". Maybe `--acme-server` or something?"}}