全部搜尋項
trixie  ] [  sid  ]
[ 原始碼: gitlike-commands  ]

套件:python3-gitlike-commands(0.3.0-1)

python3-gitlike-commands 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 gitlike-commands

維護小組:

外部的資源:

相似套件:

Python module for easily creating `git`-style subcommand handling

The subcommand_driver automatically figures out what name the script was called as, then looks for subcommands and runs them if found, passing in any command line options.

If you have a `foo` script in your `$PATH` as shown below

   #!/usr/bin/env python3
   from gitlike_commands import subcommand_driver

   if __name__ == '__main__':
       subcommand_driver()

Running `foo bar baz` will look for a `foo-bar-baz` script, and if present in your $PATH, run it. If there is no `foo-bar-baz`, it will look for `foo-bar`, and if it finds that, run `foo-bar baz`.

The subcommands can be written in any language, the only requirements are that they are marked executable and follow the `foo-something` naming convention.

其他與 python3-gitlike-commands 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-gitlike-commands

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 5。2 kB27。0 kB [檔案列表]