Moved around some code blocks for the sake of readabilty.
Making some minor code readability changes.
Breaking logic in the main function out into smaller components.
Created the -l option to list cheatsheets. I believe this is goign to be helpful to expose to scripts that are attempting to implement autocomplete.
Merged the 'create' and 'edit' functionality in order to DRY out the code a bit, because (IMO) the user experience is actually somewhat better when these two commands are merged.