hack のためのネタ帳, etc,,,

タグ検索でgetopts3件見つかりました。

docopt

ネタ元: &twitter(1235365719371481089) - the world as code / 2019-02-19: [[Usage の書き方について標準仕様を探る>https://chroju.github.io/blog/2019/02/19/how_to_write_usage/]] * 公式ページ等 - [[docopt>http://docopt.org/]] - GitHub / [[docopt>https://github.com/docopt/]]…

https://seesaawiki.jp/w/kou1okada/d/docopt... - 2020年03月09日更新

python-fire

* 公式ページ等 - GitHub / google / [[python-fire>https://github.com/google/python-fire]] * 参考になるページ等 - Qiita / KtheS / 2020-06-10: [[爆速python-fire>https://qiita.com/KtheS/items/59d683992ee33de857e9]], ネタ元 * 関連 - [[hhs.bash]] …

https://seesaawiki.jp/w/kou1okada/d/python%2dfire... - 2020年06月27日更新

bash - getopts

bash の組み込みコマンドである getopts を使ったオプション解析の例 * 使用例 [-] getopts_sample.sh =|SH| #!/usr/bin/env bash while getopts ab: OPTION; do case "$OPTION" in a) echo "alpha: $OPTION" ;; b) echo -e "bravo: $OPTION ${OPTARG@Q}" ;; esac done shift $(( OPTIND - 1…

https://seesaawiki.jp/w/kou1okada/d/bash%20%2d%20g... - 2018年10月11日更新

ai(22) android(29) bash(40) c++(52) cxx(54) cygwin(128) debian(39) deeplearning(32) diary(765) excel(21) font(30) free-book(47) git(21) github(28) gnu-r(77) google(26) hdd(22) html(25) java(26) javascript(118) latex(57) lcd(22) library(24) linux(97) machinelearning(31) memo(462) microsoft(42) oss(25) pdf(38) powershell(65) programming(32) proxy(23) python(100) r-lang(47) ruby(86) security(72) ssh(34) tex(37) tips(397) troubleshooting(443) ubuntu(114) unicode(22) usb(21) virtualization(24) vscode(28) windows(126) windows10(50) wsl(26) zfs(32) 数式(21)

管理人/副管理人のみ編集できます