BradenM/micropy-cli

the need for something like `micropy deploy`

Ouverte

#228 ouverte le 21 févr. 2021

 (2 commentaires) (0 réaction) (0 personne assignée)Python (29 forks)auto 404
enhancementhelp wanted

Métriques du dépôt

Stars
 (335 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur