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.

贡献者指南