Last active
February 27, 2019 22:34
-
-
Save BrianLitwin/bbd72d051a13fc56a1ecd5bce1b75af3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function usage(print: (string) => void): void { | |
print( | |
dedent`\ | |
Arguments: | |
--all | |
remove the entire $SOURCECRED_DIRECTORY | |
--cache | |
remove only the cache directory | |
--help | |
Show this help message and exit, as 'sourcecred help clear'. | |
Environment variables: | |
SOURCECRED_DIRECTORY | |
Directory owned by SourceCred, in which data, caches, | |
registries, etc. are stored. Optional: defaults to a | |
directory 'sourcecred' under your OS's temporary directory; | |
namely: | |
${Common.defaultSourcecredDirectory()} | |
`.trimRight() | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is their a test case for having the 'wrong' github token?
test cases: