id = "wd"
name = "wd"
homepage = "https://github.com/mfaerevaag/wd"
description = "wd (warp directory) lets you jump to custom directories in zsh, without using cd."
executables = ["wd"]
platforms = ["macos", "linux"]
[dotfiles]
paths = ["~/.warprc"]
exclude = []
secret = []
side_effect = false
[commands]
format = 1
label = "Warp to directory"
description = "Jump to a named directory, or add and remove warp points. wd is a shell function installed by its plugin."
quality = "ai-draft"
base = "fig:wd"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = true }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/wd.ts"
license = "MIT"
[[commands.field]]
id = "point"
label = "Warp point"
description = "Name of the warp point; leave out only for subcommands."
type = "string"
position = 0
sources = ["fig"]
[[commands.field]]
id = "path"
label = "Subpath"
description = "Path appended to the warp point."
type = "string"
position = 1
sources = ["fig"]
[[commands.field]]
id = "quiet"
label = "Quiet"
type = "boolean"
option = ["--quiet", "-q"]
sources = ["fig"]
[[commands.field]]
id = "config"
label = "Config file"
type = "path"
option = ["--config", "-c"]
path = { kind = "file", role = "input" }
sources = ["fig"]
[[commands.task]]
id = "warp"
label = "Warp to a point"
fields = ["point", "path"]
required = ["point"]
[[commands.group]]
id = "basic"
label = "Basic"
fields = ["point", "path"]
[[commands.group]]
id = "advanced"
label = "Advanced"
fields = ["quiet", "config"]
[[commands.subcommand]]
path = ["add"]
label = "Add warp point"
description = "Save the current directory as a warp point."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/wd.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "point"
label = "Warp point name"
description = "Defaults to the current directory name."
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.task]]
id = "add"
label = "Add point"
fields = ["point"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["point"]
[[commands.subcommand]]
path = ["rm"]
label = "Remove warp point"
description = "Delete a saved warp point."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/wd.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "point"
label = "Warp point name"
type = "string"
position = 0
effect = "delete"
sources = ["fig"]
[[commands.subcommand.task]]
id = "rm"
label = "Remove point"
fields = ["point"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["point"]