Skip to content

Conversation

@nathanthorpe
Copy link
Contributor

@nathanthorpe nathanthorpe commented May 17, 2023

Config options are still available if editing the file manually, but they are not really used.

  • IAM auth shouldn't be used since we have a different system for service accounts
  • Username and Password shouldn't be used since we support Cognito on the device code method.
    Remove from the README.

Fix issue with transfer_max_retries argument.

@nathanthorpe nathanthorpe linked an issue May 17, 2023 that may be closed by this pull request
Copy link
Contributor

@sminot sminot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we asking the user to run a completely separate command to save the setting to cache the login? Wouldn't it be easier for everyone if we just asked when they first log in?

@nathanthorpe
Copy link
Contributor Author

I added something to run the initial configuration if needed

README.md Outdated
Comment on lines 25 to 31
```
cirro-cli configure
? Would you like to cache your login? Yes
```

Upon first use, it will give you a link to authenticate through the web browser.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're running _check_configure for all the functions, do users need to run the configure command themselves anymore? Can we remove this from the readme?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will still be available if they want to change the configuration. Or maybe we just make them edit the file directly. Open to suggestions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, then I would keep the command in the readme but explicitly say something like "The Cirro client will automatically ask for your credentials the first time you run a command via a link to authenticate through the web browser. If you need to change your credentials after this point, you can run: command here" And maybe change the section title from "set up" to something like "authentication" and move it lower down in the readme since you don't have to do it to set up anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@nathanthorpe nathanthorpe merged commit 714cd9d into main May 17, 2023
@nathanthorpe nathanthorpe deleted the fix branch May 17, 2023 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI Error - missing positional argument 'transfer_max_retries'

4 participants