Scope binary tools installed using composer

This commit is contained in:
Shivam Mathur
2021-12-31 00:03:15 +05:30
parent 7789b4e03e
commit f24f33ea89
9 changed files with 134 additions and 65 deletions

View File

@ -13,6 +13,7 @@
"fetch_latest": "true",
"function": "function_name",
"repository": "user/tool",
"scope": "global, scoped",
"type": "phar, composer, custom-package or custom-function",
"version_parameter": "--version",
"version_prefix": "v"
@ -76,6 +77,16 @@
"user/tool"
]
},
"scope": {
"$id": "#/items/properties/scope",
"type": "string",
"title": "The scope schema",
"description": "Scope of tool installation: global or scoped",
"enum": [
"global",
"scoped"
]
},
"type": {
"$id": "#/items/properties/type",
"type": "string",