File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,10 @@ def cli(ctx):
2020 abort = True ):
2121 os .remove (dir_path )
2222
23- token = click .prompt ('Create a GitHub token with permission to Gists and paste here ' )
23+ token = click .prompt ('Create a GITHUB TOKEN with permission to Gists and paste here ' )
2424 gist_id = existing_token .get ('gist' ) if existing_token else None
25- prompt_str = 'If you already have a GitHub gist created by keep, paste the Gist ID here, or else press Enter '
25+ click .echo ("\n Awesome! Your GitHub token has been registered. Now, we need a GIST ID to store the commands in keep." )
26+ prompt_str = 'If you already have a GitHub Gist created by keep, paste the GIST ID here, or else press Enter (we will create a Gist for you). '
2627 new_gist_id = click .prompt (prompt_str , default = '' , show_default = False )
2728
2829 if new_gist_id :
@@ -39,4 +40,5 @@ def cli(ctx):
3940 json .dump ({'token' : token , 'gist' : gist_id }, f )
4041
4142 click .echo ("Done! Gist URL - https://gist.github.com/" + gist_id )
43+ click .echo ("Your token and gist ID has been stored inside ~/.keep/.credentials" )
4244 click .echo ("You can now use `keep push` or `keep pull`" )
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def check_update(ctx, forced=False):
5151
5252
5353def first_time_use (ctx ):
54- click .secho ("Initializing environment in ~/.keep directory" , fg = 'green' )
54+ click .secho ("Detected fresh installation. Initializing environment in ~/.keep directory" , fg = 'green' )
5555 for _ in range (2 ):
5656 click .echo ('.' , nl = False )
5757 time .sleep (0.5 )
You can’t perform that action at this time.
0 commit comments