Suggestions for implementation of a command line interface

前端 未结 8 2017
野的像风
野的像风 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:07

    Complementing @vonc's answer, don't accept ambiguous abbreviations. Eg:

      myCli.exe describe someThing
      myCli.exe destroy someThing
      myCli.exe des someThing ???
    

    In fact, in that case, I probably wouldn't accept an abbreviation for "destroy"...

提交回复
热议问题