id = "clilol"
name = "clilol"
homepage = "https://clilol.readthedocs.io"
description = "A CLI for omg.lol."
executables = ["clilol"]
[dotfiles]
paths = [
"[appData]/clilol/config.yaml",
"[appData]/clilol/config.toml",
"[appData]/clilol/config.json",
]
exclude = []
secret = []
side_effect = false
[[dotfiles.secret_paths]]
file = "[appData]/clilol/config.yaml"
match = { key_path = ["apikey"] }
[[dotfiles.secret_paths]]
file = "[appData]/clilol/config.toml"
match = { key_path = ["apikey"] }
[[dotfiles.secret_paths]]
file = "[appData]/clilol/config.json"
match = { key_path = ["apikey"] }
[commands]
format = 1
label = "clilol (omg.lol)"
description = "Read and post omg.lol statuses. Other things (pastes, PURLs, weblog, DNS, themes) are left out."
quality = "ai-draft"
base = "fig:clilol"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/clilol.ts"
license = "MIT"
[[commands.subcommand]]
path = ["list", "status"]
label = "List statuses"
description = "List statuses for an address."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/clilol.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "address"
label = "Address"
description = "Address whose statuses to get."
type = "string"
option = ["--address", "-a"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "limit"
label = "Limit"
description = "How many statuses to get (default all)."
type = "integer"
option = ["--limit", "-l"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "recent"
label = "Last 10"
set = { limit = [10] }
fields = ["address", "limit"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["address", "limit"]
[[commands.subcommand]]
path = ["get", "status"]
label = "Get a status"
description = "Get a single status by ID."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/clilol.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "id"
label = "Status ID"
description = "ID of the status."
type = "string"
position = 0
min = 1
sources = ["fig"]
[[commands.subcommand.field]]
id = "address"
label = "Address"
description = "Address whose status to get."
type = "string"
option = ["--address", "-a"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "get"
label = "Get"
fields = ["id", "address"]
required = ["id"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["id", "address"]
[[commands.subcommand]]
path = ["create", "status"]
label = "Post a status"
description = "Create a status on your address."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/clilol.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "text"
label = "Text"
description = "Text of the status."
type = "string"
position = 0
min = 1
sources = ["fig"]
[[commands.subcommand.field]]
id = "emoji"
label = "Emoji"
description = "Emoji to add to the status (default sparkles)."
type = "string"
option = ["--emoji", "-e"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "skip_mastodon"
label = "Skip Mastodon"
description = "Do not cross-post to Mastodon."
type = "boolean"
option = ["--skip-mastodon-post"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "post"
label = "Post"
fields = ["text", "emoji", "skip_mastodon"]
required = ["text"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["text", "emoji", "skip_mastodon"]