pilot-drive icon indicating copy to clipboard operation
pilot-drive copied to clipboard

Refactoring of the setup tool

Open lamemakes opened this issue 11 months ago • 0 comments

The setup tool, located here needs a full overhaul in terms of refactoring. What was originally supposed to be a small script used to setup PILOT Drive has grown significantly and now needs to be broken down and refined into vaguely the following:

  1. It needs to be it' own module within the pilot-drive parent folder and like other modules separated into exceptions, constants, and business logic.
  2. It needs a better "UI", the traditional y/n prompts work to an extent but when using the interactive aspect of the setup tool, the user can only overwrite the existing PILOT Drive config, as they either: 1. update the config with new settings or, 2. disable the functionality. There should be a third option to allow default settings or skip the prompt all together. The UI envisioned is similar to that of raspi-config if that would make sense in this scenario.
  3. Some of the configuration options need to be better tested on actual machines or just implemented. For example, the Raspberry Pi camera functionality exists but has not been implemented in any command line/interactive aspects of the tool.

lamemakes avatar Aug 07 '23 00:08 lamemakes