id = "tsuru"
name = "tsuru client"
homepage = "https://tsuru.io"
description = "tsuru is a command line for application developers on tsuru."
icon = "https://github.com/tsuru.png"
executables = ["tsuru"]
[dotfiles]
paths = [
"~/.tsuru/config.json",
"~/.tsuru/target",
"~/.tsuru/targets",
"~/.tsuru_target",
"~/.tsuru_targets",
]
exclude = []
secret = ["~/.tsuru/token"]
side_effect = false
[commands]
format = 1
label = "tsuru apps"
description = "List apps, inspect them, read logs and restart. Deploys, env vars and clusters are left out."
quality = "ai-draft"
base = "fig:tsuru"
parser = { end_of_options = "--", interleave = "permute", long_equals = false, short_attached = true, short_bundles = true }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/tsuru.ts"
license = "MIT"
[[commands.subcommand]]
path = ["app", "list"]
label = "List apps"
description = "List applications with optional filters."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/tsuru.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "names_only"
label = "Names only"
type = "boolean"
option = ["-q"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "team"
label = "Team"
type = "string"
option = ["-t", "--team"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "pool"
label = "Pool"
type = "string"
option = ["-o", "--pool"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "platform"
label = "Platform"
type = "string"
option = ["-p", "--platform"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "status"
label = "Unit status (comma separated)"
type = "string"
option = ["-s", "--status"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "list"
label = "List apps"
fields = ["names_only", "team"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["names_only", "team", "pool", "platform", "status"]
[[commands.subcommand]]
path = ["app", "info"]
label = "App info"
description = "Show information about an app."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/tsuru.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "app"
label = "App"
type = "string"
option = ["-a", "--app"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "info"
label = "App info"
fields = ["app"]
required = ["app"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["app"]
[[commands.subcommand]]
path = ["app", "log"]
label = "App logs"
description = "Show an app log."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/tsuru.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "app"
label = "App"
type = "string"
option = ["-a", "--app"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "follow"
label = "Follow"
type = "boolean"
option = ["-f", "--follow"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "lines"
label = "Number of lines"
type = "integer"
option = ["-l", "--lines"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "source"
label = "Source"
type = "string"
option = ["-s", "--source"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "unit"
label = "Unit"
type = "string"
option = ["-u", "--unit"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "log"
label = "Follow logs"
fields = ["app", "follow"]
required = ["app"]
set = { follow = [true] }
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["app", "follow", "lines", "source", "unit"]
[[commands.subcommand]]
path = ["app", "restart"]
label = "Restart app"
description = "Restart an app or one process."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/tsuru.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "app"
label = "App"
type = "string"
option = ["-a", "--app"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "process"
label = "Process"
type = "string"
option = ["-p", "--process"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "restart"
label = "Restart"
fields = ["app", "process"]
required = ["app"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["app", "process"]