wwwjfy

docopt -- command-line interface description language

  •  
  •   wwwjfy · Oct 5, 2012 · 3366 views
    This topic created in 5171 days ago, the information mentioned may be changed or developed.
    http://docopt.org/

    youtube视频在这:
    PyCon UK 2012: Create *beautiful* command-line interfaces with Python


    optparse argparse又臭又长,这个才是直观好用的命令行参数解析器,直接把标准usage的字符串传过去就好了

    除了python,还支持ruby, coffeescript, php, lua, c
    2 replies  •  1970-01-01 08:00:00 +08:00
    reorx
    reorx
    Oct 5, 2012
    1
    没用过 argparse 的可以果断尝试一下,用习惯的完全不想花时间玩这个东西啊。。。
    wwwjfy
    wwwjfy
    OP
    Oct 5, 2012
    2
    argparse也就是偶尔用到,每次都要翻文档..
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1398 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 17:01 · PVG 01:01 · LAX 09:01 · JFK 12:01
    ♥ Do have faith in what you're doing.