id = "clilol" name = "clilol" homepage = "https://clilol.readthedocs.io" description = "A CLI for omg.lol." executables = ["clilol"] [dotfiles] # https://clilol.readthedocs.io/latest/ — the config file "should be named # either config.yaml, config.toml or config.json" and lives in # "$HOME/Library/Application Support/clilol" (macOS default), # "$XDG_CONFIG_HOME/clilol" (Unix, and macOS when XDG_CONFIG_HOME is set) or # "%AppData%\clilol" (Windows) — one location under three names, which is # [appData]. paths = [ "[appData]/clilol/config.yaml", "[appData]/clilol/config.toml", "[appData]/clilol/config.json", ] exclude = [] # The file is not a whole-file secret: address and email identify the account # and are worth carrying to a new machine. Only the key is lifted out. secret = [] side_effect = false # The same page: clilol "expects a configuration file to specify your address, # login email, and API key", the key being the one from the omg.lol account # page. apikeycmd, the alternative, only names a command to run. [[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"]