You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
いわゆる getopts、argparse 的なことをしてくれる以下のモジュールたちをざっと使ってみて: commander nopt nomnom minimist 比較というか、雑な感想を述べてみます。 – help のドキュメントを自動生成してくれる – サブコマンドの設定ができる - 中で子プロセスで起動するようになっている - original_command-sub_command.js のファイル名で別に設置する必要がある - ぶっちゃけ、余計なお世話としか思えない – 設定は commander のモジュールに対して行うので、副作用がある - それどころか展開した結果も何故かモジュール以下に展開する。ウワァァン、キモイヨー! – 要件がシンプルなら便利 追記、ブコメから: – teppeis さん「commanderはnew Commandすればグローバルではなくインスタン
One often overlooked feature of node.js is the ability to create command-line utilities. Here I want to demonstrate how simple it can be to create useful command-line utilities with the help of node.js. I’m going to create a small utility which allows for quick searching of GitHub for reposities based on keywords, owners and languages. If you’d like to jump straight into the source code, it’s avai
One of my favorite things about programming in node is the package management system. In almost all instances, the practice of locally installing modules for each project has simplified my life as a developer. However, as a long time contributor to Grunt, I have become intimately familiar with one edge case where this practice breaks down. In the hope of mitigating the annoyance for everyone, I cr
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く