What are the best-practices for implementing a CLI tool in Perl?

后端 未结 7 719
刺人心
刺人心 2021-01-30 00:30

I am implementing a CLI tool using Perl. What are the best-practices we can follow here?

7条回答
  •  清歌不尽
    2021-01-30 00:42

    The most important thing is to have standard options.

    Don't try to be clever, be simply consistent with already existing tools.

    How to achieve this is also important, but only comes second.

    Actually, this is quite generic to all CLI interfaces.

提交回复
热议问题