BradenM/micropy-cli

the need for something like `micropy deploy`

オープン

#228 opened on 2021/02/21

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Python (29 件のフォーク)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (335 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド