slimtoolkit / slimtoolkit/slim
CLI Enhancement: Ability to specify all command parameters in a json file ("command-params-file" flag)
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.4k
- Forks
- 840
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing "command-params-file" placeholder and the CLI flag-processing paths for command-specific parameters. Trace how required parameters are currently collected, then verify that each command can load them from a JSON file while preserving existing flag behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100