mattn/longcatのオプションまとめ
$ go get github.com/mattn/longcat
longcat [-n,l int][-i float64][-r,R,H][-o filepath][-d dirpath][-t themename][-themes][-pixterm][-dark][-ascii]
- how long cat
- 長さ指定(<-5でエラー)
- def: 1
- number of columns
- 横に並ぶ数指定
- def: 1
- rate of intervals
- lオプションを使用した際のカラム同士の幅を指定
- def: 1.0
- flip holizontal
- 横に反転
- def: false
- flip vertical
- 縦に反転
- def: false
- holizontal-mode
- 左90°回転
- def: false
- output image file
- 出力を引数のファイルに行う
- def: null(端末上に出力)
- directory of images(dir/*{1,2,3}.png))
- 頭(1.png), 腹(2.png), 尾(3.png)の画像を含むディレクトリを指定
- def: null(テーマに対応するディレクトリを走査)
- name of theme
- テーマの指定
- def: longcat
- list themes
- 使用可能なテーマの一覧を表示。
- def:false
- pixterm mode
- pixtermを使用しASCII文字で端末上に画像を出力
- def: false(sixelを使用し出力)
- dark-mode(a.k.a. tacgnol theme)
-t tacgnol
と同じ- def: false
- ascii mode
- AA(
/[ ',.037:;KOX\[cdklmox]/
のみ)で表示 - def: false