BradenM/micropy-cli

the need for something like `micropy deploy`

開放

#228 建立於 2021年2月21日

 (2 則留言) (0 個反應) (0 位負責人)Python (29 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (335 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南