Thanks to visit codestin.com
Credit goes to github.com

Skip to content

make the plz menu configurable via the config file #96

@0x61nas

Description

@0x61nas

while working on #56 (to add more help providers), I realized that we (or I) are doing this the wrong way. the user may agree or disagree with our choices and we have to provide an easy way for the user to change the plz menu elements as he/she wanted not as we want

Describe the solution you'd like
Instead, we can read a 2D array from the user via the config file or the CLI arguments, or both. this array contains the plz menu elements in the same order that we going to display with, the elements of this array will be in this form:

[ commad|fetch|local, "THE COMMAND | THE BASE URL | THE TOP DIR",  "THE COMMAND ARGS | THE URL FORMAT | THE FILE LOCATION FORMAT" ]

OR something similar

Additional context

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions