DvaMishkiLapa / VitaOxiPad

Turns your PS Vita into (almost) a DualShock 4
https://www.rinnegatamante.eu/vitadb/#/info/1239
Other
17 stars 1 forks source link

Save and read cli flags from a config file #13

Closed santarl closed 1 week ago

santarl commented 2 weeks ago

At present, the command-line interface (CLI) is initiated using a positional flag for the IP address, along with optional flags for further configuration.

To enhance the CLI and improve user experience, we can introduce a configuration feature that allows it to read settings from a configuration file instead of relying solely on flags. Additionally, we can implement functionality to read parameters from environment variables. The order of precedence for reading these parameters should preferably be:

  1. Flags (highest priority)
  2. Environment Variables
  3. Config File (lowest priority)

This will make the cli less tedious to use.

DvaMishkiLapa commented 1 week ago

Closed in #13