id = "jenv"
name = "jEnv"
homepage = "https://www.jenv.be"
description = "jEnv is a command line tool to help you forget how to set the JAVA_HOME environment variable."
executables = ["jenv"]
[dotfiles]
paths = ["~/.jenv/version"]
exclude = [
"~/.jenv/bin/",
"~/.jenv/shims/",
"~/.jenv/versions/",
"~/.jenv/plugins/",
]
secret = []
side_effect = false
[commands]
format = 1
label = "jEnv"
description = "Choose the global or per-directory Java version and list the versions jEnv knows. Adding JDKs and plugin management are left out."
quality = "ai-draft"
base = "fig:jenv"
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/jenv.ts"
license = "MIT"
[[commands.subcommand]]
path = ["versions"]
label = "List Java versions"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/jenv.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "bare"
label = "Names only"
type = "boolean"
option = ["--bare"]
description = "Display only the version."
sources = ["fig"]
[[commands.subcommand.field]]
id = "verbose"
label = "Verbose"
type = "boolean"
option = ["--verbose"]
description = "Display verbose output."
sources = ["fig"]
[[commands.subcommand.task]]
id = "list"
label = "List versions"
fields = ["bare", "verbose"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["bare", "verbose"]
[[commands.subcommand]]
path = ["global"]
label = "Set global Java version"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/jenv.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "version"
label = "Version"
type = "string"
position = 0
description = "Version name as shown by jenv versions."
sources = ["fig"]
[[commands.subcommand.task]]
id = "global"
label = "Set global version"
fields = ["version"]
required = ["version"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["version"]
[[commands.subcommand]]
path = ["local"]
label = "Set local Java version"
description = "Writes a .java-version file in the current directory."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/jenv.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "version"
label = "Version"
type = "string"
position = 0
description = "Version name as shown by jenv versions."
sources = ["fig"]
[[commands.subcommand.field]]
id = "unset"
label = "Remove local setting"
type = "boolean"
option = ["--unset"]
description = "Remove local jEnv settings."
effect = "delete"
sources = ["fig"]
[[commands.subcommand.task]]
id = "local"
label = "Set local version"
fields = ["version"]
required = ["version"]
[[commands.subcommand.task]]
id = "unset"
label = "Unset local version"
set = { unset = [true] }
fields = ["unset"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["version", "unset"]