Open jacobian opened 4 years ago
Hi @jacobian :wave:
sorry for my late reply. This sounds actually like really great idea.
Just brainstorming here:
~/.awsls/config
(the folder ~/.awsls/
exists already when using awsls to store the Terraform AWS Provider binary)--attributes
flag overwrites whatever is specified in the config file[awsls]
header in the config file?--config <path/to/config>
is probably not necessary in a first go Creating a PR is very appreciated. If you have questions about Go or need feedback about your code at any point, let me know. If you get stuck, I can also jump in and help you finish the feature.
Thanks, Jan
Lovely, sounds like we're thinking exactly on the same lines. Yes, I'll give this a stab and see where I can get, thanks!
I love
awsls
, it makes my live so much easier! I have an idea/feature request. I'd be happy to take a stab at a PR, but I want to make sure it's something you'd like first:Nearly time I use
awsls
, I need to remember to give some specific-attributes
to make the output useful. A quick trawl through my shell history shows things likerepeated over and over again.
What if there was a config file that remembered that when I list AMIs, I want name and tags, etc? i.e., it could look something like
Then,
awsls aws_instance
would use those attributes.Again, I'm happy to take a stab at a PR if this is something that you'd find useful and in line with your intentions for the tool. I'm not super-great at Go but I can probably come up with something reasonable as a starting point.