BradenM/micropy-cli

the need for something like `micropy deploy`

Aperta

#228 aperta il 21 feb 2021

 (2 commenti) (0 reazioni) (0 assegnatari)Python (29 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (335 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Is your feature request related to a problem? Please describe.

no... well yes. micropy deploy would be a great shortcut for micropython noobs.

Coming from the nodejs world, Currently I fee like micropy is just a combination of something like

  • npm search|install
  • yo generator:*

Is it just trying to be a micropython packagemanager? or a good overall dev toolkit?

If it's just aiming to be a packagemanager, then it should probably be split up into separate cli tools.

  • mipy - the micropython package manager
  • yopy - the micropython project generator
  • dopy - the micropython project deployer

If the latter then we should also include a way for people to complete the workflow:

  • setup
  • install deps
  • run simulator
  • deploy to device

Describe the solution you'd like

something like micropy deploy.

at first it could just read various parameters required from .micropy.json.

Later on it could ask for target device type, etc to build the right settings in .micropy.json

the end effect would be micropython on my computer would end up on the connected device (in my case the m5paper).

Describe alternatives you've considered

bash scripts.

Additional context

i'm a noob.

Guida contributor