Suggestions for implementation of a command line interface

前端 未结 8 2010
野的像风
野的像风 2020-12-23 03:46

I am redesigning a command line application and am looking for a way to make its use more intuitive. Are there any conventions for the format of parameters passed into a co

8条回答
  •  眼角桃花
    2020-12-23 04:24

    One thing I like about certain CLI is the usage of shortcuts.
    I.e, all the following lines are doing the same thing

    myCli.exe describe someThing
    myCli.exe descr someThing
    myCli.exe desc someThing
    

    That way, the user may not have to type the all command every time.

提交回复
热议问题