mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
fix(oven-sh/bun): fix parameter
This commit is contained in:
parent
1c90ec5c4a
commit
89f9e647e4
1
Makefile
1
Makefile
@ -18,6 +18,7 @@ lint:
|
|||||||
schema:
|
schema:
|
||||||
@jsonschema bundle config.schema.base.json \
|
@jsonschema bundle config.schema.base.json \
|
||||||
--resolve ./arbitrary/open/config.schema.json \
|
--resolve ./arbitrary/open/config.schema.json \
|
||||||
|
--resolve ./arbitrary/task/config.schema.json \
|
||||||
--resolve ./arbitrary/zip/config.schema.json \
|
--resolve ./arbitrary/zip/config.schema.json \
|
||||||
--resolve ./azure/az/config.schema.json \
|
--resolve ./azure/az/config.schema.json \
|
||||||
--resolve ./cloudflare/cloudflared/config.schema.json \
|
--resolve ./cloudflare/cloudflared/config.schema.json \
|
||||||
|
|||||||
@ -111,6 +111,9 @@
|
|||||||
},
|
},
|
||||||
"kubeforward": {
|
"kubeforward": {
|
||||||
"$ref": "https://github.com/foomo/posh-providers/kubernets/kubeforward/config"
|
"$ref": "https://github.com/foomo/posh-providers/kubernets/kubeforward/config"
|
||||||
|
},
|
||||||
|
"task": {
|
||||||
|
"$ref": "https://github.com/foomo/posh-providers/arbitrary/task/config"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|||||||
@ -96,6 +96,9 @@
|
|||||||
"stern": {
|
"stern": {
|
||||||
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1stern~1stern~1config"
|
"$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": {
|
"teleport": {
|
||||||
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1gravitational~1teleport~1config"
|
"$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": {
|
"https://github.com/foomo/posh-providers/arbitrary/zip/config": {
|
||||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||||
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1arbitrary~1zip~1config/$defs/Config",
|
"$ref": "#/$defs/https%3A~1~1github.com~1foomo~1posh-providers~1arbitrary~1zip~1config/$defs/Config",
|
||||||
|
|||||||
@ -223,6 +223,7 @@ func NewCommand(l log.Logger, cache cache.Cache) *Command {
|
|||||||
Args: tree.Args{
|
Args: tree.Args{
|
||||||
{
|
{
|
||||||
Name: "package",
|
Name: "package",
|
||||||
|
Optional: true,
|
||||||
Description: "Package name",
|
Description: "Package name",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user