naopoyo.com
  • Docs
  • Tags
  • Bookmarks
  • Tools
  • About
  • Docs
  • Tags
  • Bookmarks
  • Tools
  • About

目次

© naopoyo

🛟

CLIツールを作ろう

公開日
19日前
2025-10-25
更新履歴
GitHubで見る
  • Node.js
  • npm

概要

Hono CLI の docs コマンドが面白かったので似たようなことをしたいと思った。

Hacker SheetのCLIツールを作るために調べたことを記録していく。

Commander.js

GitHub - tj/commander.js: node.js command-line interfaces made easy
node.js command-line interfaces made easy. Contribute to tj/commander.js development by creating an account on GitHub.
github.com favicon
github.com
GitHub - tj/commander.js: node.js command-line interfaces made easy

Node.jsでCLIアプリケーションを作成するための人気のあるライブラリ。コマンドライン引数を解析し、オプションやサブコマンドを定義できる。

find-up

GitHub - sindresorhus/find-up: Find a file or directory by walking up parent directories
Find a file or directory by walking up parent directories - sindresorhus/find-up
github.com favicon
github.com
GitHub - sindresorhus/find-up: Find a file or directory by walking up parent directories

ファイルやディレクトリを親ディレクトリへ向かって上方向に探索し、最初に見つかったパスを返す小さなユーティリティ。

Inquirer.js

GitHub - SBoudrias/Inquirer.js: A collection of common interactive command line user interfaces.
A collection of common interactive command line user interfaces. - SBoudrias/Inquirer.js
github.com favicon
github.com
GitHub - SBoudrias/Inquirer.js: A collection of common interactive command line user interfaces.

対話式のプロンプトを簡単に作成できるライブラリ。

cosmiconfig

GitHub - cosmiconfig/cosmiconfig: Find and load configuration from a package.json property, rc file, TypeScript module, and more!
Find and load configuration from a package.json property, rc file, TypeScript module, and more! - cosmiconfig/cosmiconfig
github.com favicon
github.com

プロジェクト内の設定ファイルを柔軟に探索して読み込むためのライブラリ。

ブックマーク

commander.jsを利用したCLIコマンドの作成
zenn.dev favicon
zenn.dev
commander.jsを利用したCLIコマンドの作成
Node.js製ライブラリのconfigはcosmiconfigで実装するのがよさそう - @kimulaco/blog
Webエンジニアの学びと趣味のブログ。Node.js製ライブラリのconfigはcosmiconfigで実装するのがよさそうだったので、簡単な使い方や便利ポイントを紹介します。
kimulaco.dev favicon
kimulaco.dev
Node.js製ライブラリのconfigはcosmiconfigで実装するのがよさそう - @kimulaco/blog
GitHub - honojs/cli: CLI for Humans and AI with Hono
CLI for Humans and AI with Hono. Contribute to honojs/cli development by creating an account on GitHub.
github.com favicon
github.com
GitHub - honojs/cli: CLI for Humans and AI with Hono

目次

最近更新された記事

🎮
ゲーム開発日記4
10日前 - 2025年11月03日
  • Unity
  • ゲーム開発
🐩
開発日記-2025-11-02 / git worktree について調べる
11日前 - 2025年11月02日
  • 開発日記
🌇
開発日記-2025-10-31 / Xのブックマークに入れてたサイトを読む
14日前 - 2025年10月31日
  • 開発日記