id = "charm"
name = "Charm"
homepage = "https://github.com/charmbracelet/charm"
description = "Charm is a set of tools that makes adding a backend to your terminal-based applications fun and easy."
icon = "https://github.com/charmbracelet.png"
executables = ["charm"]
[dotfiles]
paths = []
exclude = ["[dataHome]/charm/*/kv/"]
secret = [
"[dataHome]/charm/*/charm_ed25519",
"[dataHome]/charm/*/charm_rsa",
]
[commands]
format = 1
label = "Charm"
description = "Read and write the Charm key-value store. Run charm with no arguments for the TUI; accounts, keys, fs and crypt commands are left out."
quality = "ai-draft"
base = "fig:charm"
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/charm.ts"
license = "MIT"
[[commands.subcommand]]
path = ["kv", "get"]
label = "Get a value"
description = "Get a value for a key, optionally in a named database (key@db)."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/charm.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "key"
label = "Key"
description = "KEY or KEY@DB."
type = "string"
position = 0
min = 1
sources = ["fig"]
[[commands.subcommand.task]]
id = "get"
label = "Get"
fields = ["key"]
required = ["key"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["key"]
[[commands.subcommand]]
path = ["kv", "set"]
label = "Set a value"
description = "Set a value for a key, optionally in a named database (key@db)."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/charm.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "key"
label = "Key"
description = "KEY or KEY@DB."
type = "string"
position = 0
min = 1
sources = ["fig"]
[[commands.subcommand.field]]
id = "value"
label = "Value"
description = "Value to store."
type = "string"
position = 1
min = 1
sources = ["fig"]
[[commands.subcommand.task]]
id = "set"
label = "Set"
fields = ["key", "value"]
required = ["key", "value"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["key", "value"]
[[commands.subcommand]]
path = ["kv", "list"]
label = "List pairs"
description = "List all key-value pairs, optionally for one database (@db)."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/charm.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "db"
label = "Database"
description = "Optional @DB to list."
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.task]]
id = "list"
label = "List"
fields = ["db"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["db"]