Skip to content
#

commands

Here are 455 public repositories matching this topic...

has
virgilwashere
virgilwashere commented May 22, 2019

Add -h and -V options

Basic getopts version:

  #-----------------------------------------------------------------------
  #  Handle command line arguments
  #-----------------------------------------------------------------------
  while getopts ":hV" opt
  do
    # shellcheck disable=SC2214
    case "${opt}" in

      h|help      ) _usage;    exit 0 ;;
      V|version   ) _version;  

🖥 Go CLI application, tool library, running CLI commands, support console color, user interaction, progress display, data formatting display, generate bash/zsh completion add more features. Go的命令行应用,工具库,运行CLI命令,支持命令行色彩,用户交互,进度显示,数据格式化显示,生成bash/zsh命令补全脚本

  • Updated Sep 28, 2020
  • Go
carlbordum
carlbordum commented Nov 29, 2018

Issue #30 made me realise that manly only works on english man pages. Luckily it appears to only be the case, because of the regex here https://github.com/carlbordum/manly/blob/master/manly.py#L154 that parses the title/NAME.

Currently it crashes with the rather cryptic error

Traceback (most recent call last):
  File "manly.py", line 191, in <module>
    main()
  File "manly.py", lin

Improve this page

Add a description, image, and links to the commands topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the commands topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.