Login code cleanup #81
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Is your feature request related to a problem? Please describe.
The majority of scripts will check if a user already has an access token or create it for the user.
The code that does this is repeated throughout the place. i.e.,
agave-cli/bin/files-cp
Lines 49 to 60 in db55abb
Describe the solution you'd like
This could all very well be organized into a function,
login()
, that all other scripts can import.The text was updated successfully, but these errors were encountered: