xbps icon indicating copy to clipboard operation
xbps copied to clipboard

why not xbp install , xbp query or xbp remove ?

Open Hierosme opened this issue 5 months ago • 9 comments

I'm motivate to code a xbps wapper command, but before anything i asking why it's not all ready the case.

Look command set of xbps permit a easy refactoring, by create a frontal command for pilot each others. That is not a tonne of work and i all ready have make it with succes with python, argparse and CMD.

The goal look simple: have a unique entry point call xbp where the args determine which command will be use. Exemple

xbp install toto == xbps-install toto xbp query -Rs toto == xbps-query -Rs toto

etc etc...

where/when my idea it is good for final user ?

by use CMD coupled with argparse we can have :

  • a SHELL for xbp, then have a interactive session with humain user
  • a scripting language for xbp (same as interactive session but in descriptive file)
  • a capability to use CLI without file description and interactive session
  • a completion it follow xbps tools command set

Look magique but that not so hard to do...

If that feature look good , and look to save the world for fews i can propose a python proof of concpet. I not suppose to be the only one it have speack about it, it have a technical raison or a political raison for that ?

I'm not sure about python will be the best choose for it, but as PpC why not.

Regards

Hierosme avatar Sep 10 '24 12:09 Hierosme