fix(oven-sh/bun): fix parameter

This commit is contained in:
Kevin Franklin Kim 2025-04-08 09:16:22 +02:00
parent 1c90ec5c4a
commit 89f9e647e4
No known key found for this signature in database
4 changed files with 49 additions and 0 deletions

View File

@ -18,6 +18,7 @@ lint:
schema:
@jsonschema bundle config.schema.base.json \
--resolve ./arbitrary/open/config.schema.json \
--resolve ./arbitrary/task/config.schema.json \
--resolve ./arbitrary/zip/config.schema.json \
--resolve ./azure/az/config.schema.json \
--resolve ./cloudflare/cloudflared/config.schema.json \

View File

@ -111,6 +111,9 @@
},
"kubeforward": {
"$ref": "https://github.com/foomo/posh-providers/kubernets/kubeforward/config"
},
"task": {
"$ref": "https://github.com/foomo/posh-providers/arbitrary/task/config"
}
},
"additionalProperties": false,

View File

@ -96,6 +96,9 @@
"stern": {
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1stern~1stern~1config"
},
"task": {
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1arbitrary~1task~1config"
},
"teleport": {
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1gravitational~1teleport~1config"
},
@ -195,6 +198,47 @@
}
}
},
"https://github.com/foomo/posh-providers/arbitrary/task/config": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1arbitrary~1task~1config/$defs/Config",
"$defs": {
"Config": {
"type": "object",
"additionalProperties": {
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1arbitrary~1task~1config/$defs/Task"
}
},
"Task": {
"type": "object",
"required": [ "prompt", "deps", "cmds", "hidden" ],
"properties": {
"cmds": {
"description": "Commands to execute",
"type": "array",
"items": {
"type": "string"
}
},
"deps": {
"description": "Dependencies to run",
"type": "array",
"items": {
"type": "string"
}
},
"hidden": {
"description": "Don't show in the completion list",
"type": "boolean"
},
"prompt": {
"description": "Prompt string to confirm execution",
"type": "string"
}
},
"additionalProperties": false
}
}
},
"https://github.com/foomo/posh-providers/arbitrary/zip/config": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1arbitrary~1zip~1config/$defs/Config",

View File

@ -223,6 +223,7 @@ func NewCommand(l log.Logger, cache cache.Cache) *Command {
Args: tree.Args{
{
Name: "package",
Optional: true,
Description: "Package name",
},
},