2018-11-29から1日間の記事一覧

PythonのClickのサブコマンドをsymlinkで表現する作例

PythonのClickで command [--debug] foo [--force] [--yes]なのを実装したとして、これと同じのを command-foo というsymbolic linkを作って command-foo [--debug] [--force] [--yes]でも実行できるようにしたい作例。 https://gist.github.com/hirose31/f4…