Skip to content

Commit f3aa9d2

Browse files
author
yasht01
committed
Update README.md to include -c/--custom argument
1 parent 7ac8dd8 commit f3aa9d2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Options: <br>
4444
`-v, --version -> Gives the Version of the CLI` <br>
4545
`-s, --search -> Search a question on Stackoverflow` <br>
4646
`-d, --debug -> Turn on Debugging mode` <br>
47+
`-c, --custom -> Setup a custom API key` <br>
4748
`-h, --help -> Shows this message and exit` <br>
4849

4950
## License🗄

src/arguments/utility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def setCustomKey(self):
117117
callback_url = input("Paste URL after authenticating here: ")
118118
accessTokenData = stackApps.token_from_fragment(callback_url)
119119

120-
# Store the access token data in a JSON file
120+
# Store the access token data in a dictionary
121121
jsonDict = {
122122
"access_token": accessTokenData['access_token'],
123123
"expires": accessTokenData['expires'],

0 commit comments

Comments
 (0)