Skip to content
This repository was archived by the owner on Apr 20, 2021. It is now read-only.

New argument -> config #96

Open
Wabri opened this issue Jan 21, 2019 · 0 comments
Open

New argument -> config #96

Wabri opened this issue Jan 21, 2019 · 0 comments
Labels
configurations Edit configuration files enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Wabri
Copy link
Owner

Wabri commented Jan 21, 2019

Add a new argument for yapi called config, this new argument must give the actual configuration for yapi and ask if some of config value needs to be change. if config is follow by one or more of this "--<field_name>=<field_new_value>" it means that field must change with that value. in this case is not necessary to run the console request previously explained.

examples:

  • yapi config --platform=darwin
  • yapi config --want_soft_link=True --keep_cache=False
  • yapi config --ignore=test.sh,atom.sh,pycharm.sh --installed=atom,pycharm

The last one is give a particular example of list of value, is probably necessary to update this line of yapi.py:
https://github.com/YetAnotherPackageInstaller/YAPI/blob/6ca5410572d9df4ff6e7a8c78cdef1db3ead6eea/yapi.py#L54
or prevent the change of this line by split the value list in argument of config with a space between the comma and the next character.

@Wabri Wabri added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers configurations Edit configuration files labels Jan 21, 2019
@Wabri Wabri added this to the v0.1 milestone Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
configurations Edit configuration files enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant