slim icon indicating copy to clipboard operation
slim copied to clipboard

CLI Enhancement: Ability to specify all command parameters in a json file ("command-params-file" flag)

Open kcq opened this issue 2 years ago • 5 comments

Right now each CLI command accepts a set of command parameters as separate command line flags. It's ok for adhoc use, but it's less ideal for automation. The goal for the "command-params-file" flag is to provide an ability to specify all required command-specific parameters in one JSON formatted file.

There's already a placeholder for the flag, but there's no logic to load and process the file data.

This is a good first issue for somebody already comfortable with Go and refactoring a significant amount of CLI flag processing code.

kcq avatar Oct 22 '23 16:10 kcq

Hello @kcq I would like to work on this issue can you please assign it to me and tell me which files need to be changed

MeenuyD avatar Oct 23 '23 01:10 MeenuyD

@kcq , still need this done? let me know, can work on this.

vash-knives avatar Mar 04 '24 02:03 vash-knives

@kcq is this issue still open?

dpcamargo avatar May 16 '24 17:05 dpcamargo

@kcq is this issue still open?

yes, it is open. if you are interested in working on it it's good to post the PRs here

kcq avatar May 16 '24 20:05 kcq

I was just been playing around with this issue yesterday and think I have a solution outlined, I would be keen to try and post a PR over this weekend.

Billy-North avatar May 17 '24 03:05 Billy-North