Skip to content

Commit

Permalink
Link "Sweat the small stuff" post
Browse files Browse the repository at this point in the history
That post includes information one isn't guaranteed to discover when using
this library as well as justification for adding the feature and the expense
of doing so. It should be linked from the project README.
  • Loading branch information
sethwklein committed Oct 17, 2014
1 parent ac2cd66 commit d658309
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ the executable for a tool. Because most CLI tools print the help and then exit
when invoked without arguments, this is often very frustrating for those users.

mousetrap provides a way to detect these invocations so that you can provide
more helpful behavior and instructions on how to run the CLI tool.
more helpful behavior and instructions on how to run the CLI tool. To see what
this looks like, both from an organizational and a technical perspective, see
https://inconshreveable.com/09-09-2014/sweat-the-small-stuff/

### The interface

The library exposes a single interface:

func StartedByExplorer() (bool)

0 comments on commit d658309

Please sign in to comment.