Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cacctl configure command #9

Closed
awjudd opened this issue Dec 28, 2021 · 2 comments
Closed

cacctl configure command #9

awjudd opened this issue Dec 28, 2021 · 2 comments

Comments

@awjudd
Copy link

awjudd commented Dec 28, 2021

Now that there is the ability to import the configurations from a specific file, it would be great if there was a way to automatically create this file (and store it in a place where it can be read from).

Sample Call:

$ cacctl configure
Email Address: 

You provide the email address, then are prompted for the password.

Password:

Then it will ask:

Would you like to store it in a specific location? Or the default location (leave blank for default)?
@awjudd
Copy link
Author

awjudd commented Jan 2, 2022

image

@hef I just tried to use this, but received the above message. I am running on a Mac, and after running it, get this message:

cacctl configure                                   
using /Users/judda/Library/Application Support/cacctl/config.yaml
CAC Username: ^C

It doesn't look like the folder exists:

cat "/Users/judda/Library/Application Support/cacctl/config.yaml"
cat: /Users/judda/Library/Application Support/cacctl/config.yaml: No such file or directory

@awjudd
Copy link
Author

awjudd commented Jan 2, 2022

Once I manually created the directory, and re-ran the configure command it worked.

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

No branches or pull requests

1 participant