tldr-pages は、コマンドラインツールの簡易ヘルプページ集。従来の man ページをよりシンプルに、実用的な例を中心にまとめたコミュニティプロジェクト。全コマンドが同じテンプレートで統一されている。
# コマンド名
> 1行の簡潔な説明
> 補足説明(任意、複数行可)
> See also: `関連コマンド`.(任意)
> More information: <公式ドキュメントURL>.
- やりたいことの説明:
`コマンド例`
- やりたいことの説明:
`コマンド例`
# コマンド名 のみ> 引用)| 行 | 内容 | 必須 |
|---|---|---|
| 1行目 | コマンドの簡潔な説明 | Yes |
| 中間行 | 補足情報(用途・注意点など) | No |
See also |
関連コマンドへの参照 | No |
More information |
公式ドキュメントへのリンク | Yes |
- 説明 + バッククォートのコマンド)- ○○する: の形式(コロンで終わる)` で囲む(1行)可変部分は二重波括弧で囲む。
[-X|--xxx]短縮形と完全形を | で併記し、`` で囲む。
''
[]覚えやすい文字を角括弧で強調する(tar の例が代表的)。
- [c]reate an archive and write it to a [f]ile:
- E[x]tract a (compressed) archive [f]ile:
- Lis[t] the contents of a tar [f]ile [v]erbosely:
# tar
> Archiving utility.
> Often combined with a compression method, such as `gzip` or `bzip2`.
> More information: <https://www.gnu.org/software/tar/manual/tar.html>.
- [c]reate an archive and write it to a [f]ile:
`tar cf `
- E[x]tract a (compressed) archive [f]ile into the current directory [v]erbosely:
`tar xvf `
pages/ # 英語(原本)
common/ # クロスプラットフォーム
linux/ # Linux 固有
osx/ # macOS 固有
windows/ # Windows 固有
pages.ja/ # 日本語翻訳
pages.zh/ # 中国語翻訳
... # その他の言語