slimtoolkit/slim

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

開放

#597 建立於 2023年10月22日

 (5 則留言) (1 個反應) (0 位負責人)Go (673 個分叉)batch import
enhancementgood first issuehelp wanted

倉庫指標

星標
 (17,694 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南