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

feat: add configure command #47

Merged
1 commit merged into from
Apr 13, 2020
Merged

feat: add configure command #47

1 commit merged into from
Apr 13, 2020

Conversation

ghost
Copy link

@ghost ghost commented Apr 9, 2020

Adding a new configure command to set up the Lacework CLI:

$ lacework configure
✔ Account: example
✔ Access Key ID: EXAMPLE_12FBEB06B01249B634D2129655B8652D0EBC2DD141B1234
✔ Secret Access Key: _186bb1dcbde222d77ccbbb25c516al09

You are all set!

Closes #35
Jira: ALLY-38

Signed-off-by: Salim Afiune Maya afiune@lacework.net

@ghost ghost requested review from lwmobeent, mjunglw and scottford-lw April 9, 2020 23:56
@ghost ghost self-assigned this Apr 9, 2020
Adding a new `configure` command to set up the Lacework CLI:
```
$ lacework configure
✔ Account: example
✔ Access Key ID: EXAMPLE_12FBEB06B01249B634D2129655B8652D0EBC2DD141B1234
✔ Secret Access Key: _186bb1dcbde222d77ccbbb25c516al09

You are all set!
```

Closes #35

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
@ghost ghost force-pushed the afiune/cmd/configure branch from 598aca9 to 87a8d0a Compare April 9, 2020 23:57
Copy link
Contributor

@scottford-lw scottford-lw left a comment

Choose a reason for hiding this comment

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

@afiunelw This is a great feature. I was able to build the latest version and test with multiple configurations. I guess the only thing would be to add an update the cli README, but I am guessing you are already tracking that.

https://github.com/lacework/go-sdk/tree/afiune/cmd/configure/cli#configuration-file

I am happy to update the docs after you merge as well

@ghost
Copy link
Author

ghost commented Apr 13, 2020

If you could help me documenting it, that would be great. 💯

@ghost ghost merged commit f334fda into master Apr 13, 2020
@ghost ghost deleted the afiune/cmd/configure branch April 13, 2020 14:27
@ghost ghost mentioned this pull request Apr 16, 2020
This pull request was closed.
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] Create a 'configure' command
2 participants