wpilibsuite / WPILibPi

WPILib Raspberry Pi images designed for FRC (formerly FRCVision)
Other
87 stars 40 forks source link

Add Export Config Json Option #90

Open Sn3akyP3t3 opened 5 years ago

Sn3akyP3t3 commented 5 years ago

Its pretty easy once its understood that the default json file created is at /boot/frc.json, but for those that don't want to fiddle with SFTP transfer it would be nice if there was an export option as well as an import option. The json provided in the example code is somewhat malformed so it didn't pass the import validation when customized. This export would make it easier to backup settings too.

Perhaps in addition maybe a template can be downloaded with a link to the verbiage for what the setting(s) do.

PeterJohnson commented 5 years ago

Why are you manually editing it? Every setting in there is editable via the webdash. Do you just want a link to download it so you can copy it to another Pi?

Sn3akyP3t3 commented 5 years ago

Not manually editing it. Correct, export only for ease of restore or transfer.