id = "sake"
name = "sake"
homepage = "https://sakecli.com"
description = "sake is a command runner for local and remote hosts."
icon = "https://sakecli.com/img/logo.svg"
executables = ["sake"]
[dotfiles]
paths = [
"[appData]/sake/config.yaml",
"[appData]/sake/config.yml",
]
exclude = []
secret = []
side_effect = false
[[dotfiles.secret_paths]]
file = [
"[appData]/sake/config.yaml",
"[appData]/sake/config.yml",
]
match = { key_path = ["servers.*.password"] }
[[dotfiles.machine_lines]]
file = [
"[appData]/sake/config.yaml",
"[appData]/sake/config.yml",
]
match = { key_path = ["servers.*.identity_file", "known_hosts_file"] }
scope = "backup"
[commands]
format = 1
label = "sake"
description = "Run or list SakeApp commands."
quality = "ai-draft"
base = "fig:sake"
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/sake.ts"
license = "MIT"
[[commands.subcommand]]
path = ["run"]
label = "Run command"
description = "Run a command defined in the SakeApp."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/sake.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "command"
label = "Command"
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.field]]
id = "config_path"
label = "Config file"
type = "path"
option = ["--config-path", "-c"]
path = { kind = "file", role = "input" }
sources = ["fig"]
[[commands.subcommand.field]]
id = "sake_app_path"
label = "SakeApp package"
type = "path"
option = ["--sake-app-path", "-s"]
path = { kind = "directory", role = "input" }
sources = ["fig"]
[[commands.subcommand.field]]
id = "case"
label = "Case converting strategy"
type = "enum"
option = ["--case-converting-strategy"]
choices = [{ value = "keepOriginal", label = "keepOriginal" }, { value = "toSnakeCase", label = "toSnakeCase" }, { value = "toKebabCase", label = "toKebabCase" }]
sources = ["fig"]
[[commands.subcommand.field]]
id = "prebuilt"
label = "Prebuilt SakeApp binary"
type = "path"
option = ["--sake-app-prebuilt-binary-path", "-b"]
path = { kind = "file", role = "input" }
sources = ["fig"]
[[commands.subcommand.task]]
id = "run"
label = "Run"
fields = ["command"]
required = ["command"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["command"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["config_path", "sake_app_path", "case", "prebuilt"]
[[commands.subcommand]]
path = ["list"]
label = "List commands"
description = "List commands defined in the SakeApp."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/sake.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "json"
label = "JSON output"
type = "boolean"
option = ["--json", "-j"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "config_path"
label = "Config file"
type = "path"
option = ["--config-path", "-c"]
path = { kind = "file", role = "input" }
sources = ["fig"]
[[commands.subcommand.field]]
id = "sake_app_path"
label = "SakeApp package"
type = "path"
option = ["--sake-app-path", "-s"]
path = { kind = "directory", role = "input" }
sources = ["fig"]
[[commands.subcommand.field]]
id = "case"
label = "Case converting strategy"
type = "enum"
option = ["--case-converting-strategy"]
choices = [{ value = "keepOriginal", label = "keepOriginal" }, { value = "toSnakeCase", label = "toSnakeCase" }, { value = "toKebabCase", label = "toKebabCase" }]
sources = ["fig"]
[[commands.subcommand.field]]
id = "prebuilt"
label = "Prebuilt SakeApp binary"
type = "path"
option = ["--sake-app-prebuilt-binary-path", "-b"]
path = { kind = "file", role = "input" }
sources = ["fig"]
[[commands.subcommand.task]]
id = "list"
label = "List"
fields = ["json"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["json"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["config_path", "sake_app_path", "case", "prebuilt"]