id = "t"
name = "t"
homepage = "https://github.com/sferik/x-cli"
description = "A command-line interface for the X API."
icon = "https://raw.githubusercontent.com/sferik/x-cli/master/legacy/icon/t.png"
executables = ["t", "x"]
[dotfiles]
paths = []
exclude = []
secret = ["~/.trc", "~/.xrc"]
[commands]
format = 1
label = "X CLI"
description = "Show a user's recent posts. Source: the project's shell completion file (legacy t command names). Posting, searching, streaming and account commands are left out."
quality = "ai-draft"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.subcommand]]
path = ["timeline"]
label = "Show a timeline"
description = "Returns the 20 most recent posts by a user."
[[commands.subcommand.source]]
id = "comp"
kind = "completion"
url = "https://raw.githubusercontent.com/sferik/x-cli/HEAD/etc/t-completion.fish"
revision = "2026-10-27"
evidence = """
complete -f -c t -n '__fish_t_needs_command' -a timeline -d "Returns the 20 most recent Tweets posted by a user."
-c, --csv Output in CSV format.
-i, --id Specify user via ID instead of screen name.
-l, --long Output in long format.
-n, --number Limit the number of results.
-r, --reverse Reverse the order of the sort.
"""
[[commands.subcommand.field]]
id = "user"
label = "User"
description = "Screen name, or ID with the ID option. Leave empty for your own timeline."
type = "string"
position = 0
sources = ["comp"]
[[commands.subcommand.field]]
id = "number"
label = "Number of results"
type = "integer"
option = ["--number", "-n"]
sources = ["comp"]
[[commands.subcommand.field]]
id = "long"
label = "Long format"
type = "boolean"
option = ["--long", "-l"]
sources = ["comp"]
[[commands.subcommand.field]]
id = "csv"
label = "CSV output"
type = "boolean"
option = ["--csv", "-c"]
sources = ["comp"]
[[commands.subcommand.field]]
id = "id"
label = "User is an ID"
type = "boolean"
option = ["--id", "-i"]
sources = ["comp"]
[[commands.subcommand.field]]
id = "reverse"
label = "Reverse order"
type = "boolean"
option = ["--reverse", "-r"]
sources = ["comp"]
[[commands.subcommand.task]]
id = "recent"
label = "Recent posts"
fields = ["user", "number", "long"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["user", "number", "long"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["csv", "id", "reverse"]