Sen descrición

kPherox d4ef34dfd3 fix: use `os.TempDir()` instead of hard coded `/tmp` hai 2 semanas
.gitignore 5b697fa22d Initial commit %!s(int64=4) %!d(string=hai) anos
LICENSE 5b697fa22d Initial commit %!s(int64=4) %!d(string=hai) anos
README.adoc 9e9e752503 docs: command use full path instead of set `PATH` hai 5 meses
emoji-pack.go 46ddae664d emoji filename unescape percent encode %!s(int64=4) %!d(string=hai) anos
emojis.go 0ea84b4027 fetch & parse custom emojis %!s(int64=4) %!d(string=hai) anos
go.mod 125b58bccc chore: module name to lowercase %!s(int64=3) %!d(string=hai) anos
go.sum 61a37b0272 command-line argument parser %!s(int64=4) %!d(string=hai) anos
masto-emoji-pack.go 9ef6321d90 change default to remove old files %!s(int64=4) %!d(string=hai) anos
options.go d4ef34dfd3 fix: use `os.TempDir()` instead of hard coded `/tmp` hai 2 semanas
version.go 9ef6321d90 change default to remove old files %!s(int64=4) %!d(string=hai) anos

README.adoc

= masto-emoji-pack

MastodonやPleromaのカスタム絵文字をダウンロードしてきてPleromaで使えるEmoji Packの形にするもの

== Requirements
* Go (latest checked: 1.14.3)

== Installation

[source, console]
----
$ go install github.com/kpherox/masto-emoji-pack@latest
----

== Usage

. デフォルトで `tmp` にEmoji Packを作ります
+
[source, console]
----
$ ~/go/bin/masto-emoji-pack example.com
Success: example.com
/tmp/example_com
----

. `-p`, `--path` オプションを使って保存先を変更できます
+
[source, console]
----
$ ~/go/bin/masto-emoji-pack -p. example.com
Success: example.com
example_com
----

. `-s`, `--split` オプションを付けるとカテゴリごとにEmoji Packを作ります
+
[source, console]
----
$ ~/go/bin/masto-emoji-pack -sp. example.com
Success: example.com
example_com/category1
example_com/category2
example_com/category3
----

=== Help

Usage: `masto-emoji-pack [-hsv] [-p PATH] DOMAIN...`

`-h`, `--help`:: show help message
`-p`, `--path=PATH`:: generate emoji pack directory [/tmp]
`-s`, `--split`:: split emoji pack via category
`-v`, `--version`:: show version info

== License
MIT Licenseです。 https://github.com/kPherox/masto-emoji-pack/blob/master/LICENSE[LICENSE]を確認してください