Quantcast
Channel: Bashタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 2912

[随時更新] Macに入れておくと便利な汎用コマンド

$
0
0
tree $ brew install tree ディレクトリ構造を見やすい形で確認できる $ tree . ├── README.md ├── dir1 │ ├── sample1.txt │ └── sample2.txt └── dir2 └── sample3.txt grip $ brew install grip Markdown形式のファイルがどのような見た目になるのかをローカルで確認できる $ grip README.md * Serving Flask app "grip.app" (lazy loading) * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Debug mode: off * Running on http://localhost:6419/ (Press CTRL+C to quit) jq $ brew install jq JSON形式のレスポンスを見やすい形に整形してくれる $ curl http://localhost/api/v1/users -s | jq { "users": [ { "id": 1, "name": "ココア", "email": "cocoa@example.com" }, { "id": 2, "name": "チノ", "email": "chino@example.com" }, { "id": 3, "name": "リゼ", "email": "rize@example.com" }, { "id": 4, "name": "千夜", "email": "chiya@example.com" }, { "id": 5, "name": "シャロ", "email": "syaro@example.com" } ] }

Viewing all articles
Browse latest Browse all 2912

Trending Articles