chrisallenlane/cheat — pull request #30 by bradtse (2013-08-23 20:53:32+00:00)
Title: Added in a create/edit option and stylistic change to output of a cheat

**I made two main changes:**
1. I made some stylistic changes when a cheatsheet is printed to stdout
2. I added in a create and edit option

**More detail on each change:**
1. This is my own personal preference so I'm not to sure if you would want to merge this in, but I personally find it extremely helpful. I noticed that every time I used `cheat` it took me a few seconds to realize where the top of the cheatsheet started because it visually blends into the command line prompt. With this stylistic change there is no ambiguity where the cheatsheet starts and ends. I won't go into detail what it looks like since the code is descriptive enough.
2. The code added for this isn't exactly the prettiest since you're not using `argparse` right now, so I am manually parsing all command line arguments. Basically now a user can edit and create a cheatsheet directly from `cheat`. Having to manually create the cheatsheet yourself is annoying, and hopefully this change fixes that. There are a few points I would like to point out though:

1. This requires the user to set their EDITOR environment variable
2. I'm not exactly sure where you're going with the default cheat directory, so right now I'm using the cheat directory defined by the cheatsheet import.