Open ninijay opened 6 years ago
It would be nice to have a CLI- Tool for pibakery. Either use this idea or the already developed one and merge this pull req #106
I would suggest running the cli like this:
pibakery [-i <path/to/xml/file> [-w <tgt>]]
-i
-w
If no args are supplied the application would start up as usual.
If only the -i arg with a path is supplied the application would start up as usual but already import the specified xml.
If -i and -w is supplied with valid values, the application just writes the supplied image to the target sd card
Electron Apps with args
It would be nice to have a CLI- Tool for pibakery. Either use this idea or the already developed one and merge this pull req #106
Idea
I would suggest running the cli like this:
-i
-w
Use cases
No Args
If no args are supplied the application would start up as usual.
-i
If only the
-i
arg with a path is supplied the application would start up as usual but already import the specified xml.-w
If
-i
and-w
is supplied with valid values, the application just writes the supplied image to the target sd card