Open alejandrox1 opened 5 years ago
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.,
https://github.com/TACC-Cloud/agave-cli/blob/db55abbf7812e6f96f6489d208a03f8fbec90bdf/bin/files-cp#L49-L60
Describe the solution you'd like This could all very well be organized into a function, login(), that all other scripts can import.
login()
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.,
https://github.com/TACC-Cloud/agave-cli/blob/db55abbf7812e6f96f6489d208a03f8fbec90bdf/bin/files-cp#L49-L60
Describe the solution you'd like This could all very well be organized into a function,
login()
, that all other scripts can import.