AOSC-Dev / acbs

A Package Tree Management Utility
https://AOSC-Dev.github.io/acbs
GNU Lesser General Public License v2.1
8 stars 8 forks source link

Spec-and-define writing wizard #17

Open Artoria2e5 opened 3 years ago

Artoria2e5 commented 3 years ago

A lot of Modern:tm: Package Managers have this magical init command to help people create an initial package-information file interactively. It might be a good idea to make one for the tree thing we have too.

A wizard should be able to ask for and fill in:

I recommend using the readline library in Python. It's the old GNU readline with all the Emacs navigation shortcuts, quite useful for moving around "words" in the DEPS. And it seems to allow custom completers.

User story: Look at me. I am that one user, I am dumb and clumsy, and I can't edit text on a high-latency connection. Seriously, I found myself struggling over something this easy.


It would also be great to have a command for adding or removing DEPs for trial-and-error building. That would require reading the file though.