|
22 | 22 | "package_source": { |
23 | 23 | "description": "The source (command line) to get package from", |
24 | 24 | "type": "object", |
| 25 | + "required": ["winget", "scoop", "choco"], |
25 | 26 | "properties": { |
26 | 27 | "winget": { |
27 | 28 | "type": "object", |
28 | 29 | "description": "Install applications using `winget` cli.", |
| 30 | + "required": ["auto_install", "packages"], |
29 | 31 | "properties": { |
30 | 32 | "auto_install": { |
31 | 33 | "type": "boolean", |
|
35 | 37 | "type": "array", |
36 | 38 | "description": "List of winget packages' IDs to install.", |
37 | 39 | "uniqueItems": true |
| 40 | + }, |
| 41 | + "additional_args": { |
| 42 | + "type": "array", |
| 43 | + "description": "Additional args for `winget install [package]`" |
38 | 44 | } |
39 | 45 | } |
40 | 46 | }, |
41 | 47 | "choco": { |
42 | 48 | "type": "object", |
43 | 49 | "description": "Install applications using `choco` cli: To add programs for developers which will be available for all users", |
| 50 | + "required": ["auto_install", "packages"], |
44 | 51 | "properties": { |
45 | 52 | "auto_install": { |
46 | 53 | "type": "boolean", |
|
50 | 57 | "type": "array", |
51 | 58 | "description": "List of choco packages' names to install.", |
52 | 59 | "uniqueItems": true |
| 60 | + }, |
| 61 | + "additional_args": { |
| 62 | + "type": "array", |
| 63 | + "description": "Additional args for `choco install [package]`" |
53 | 64 | } |
54 | 65 | } |
55 | 66 | }, |
56 | 67 | "scoop": { |
57 | 68 | "type": "object", |
58 | 69 | "description": "Install applications using `scoop` cli: To add packages which installed for current user.", |
59 | | - "required": ["auto_install", "packages"], |
| 70 | + "required": ["auto_install", "packages", "buckets"], |
60 | 71 | "properties": { |
61 | 72 | "auto_install": { |
62 | 73 | "type": "boolean", |
|
71 | 82 | "type": "array", |
72 | 83 | "description": "List of scoop buckets to add.", |
73 | 84 | "uniqueItems": true |
| 85 | + }, |
| 86 | + "additional_args": { |
| 87 | + "type": "array", |
| 88 | + "description": "Additional args for `scoop install [package]`" |
74 | 89 | } |
75 | 90 | } |
76 | 91 | } |
|
81 | 96 | "type": "array", |
82 | 97 | "items": { |
83 | 98 | "type": "object", |
84 | | - "required": ["invoke_command", "check_command", "plugins"], |
| 99 | + "required": ["command_name", "invoke_command", "check_command", "plugins", "install"], |
85 | 100 | "properties": { |
86 | 101 | "name": { "type": "string" }, |
87 | 102 | "invoke_command": { |
|
98 | 113 | }, |
99 | 114 | "plugins": { |
100 | 115 | "type": "array", |
101 | | - "properties": { |
102 | | - "plugin_name": { "type": "string" }, |
103 | | - "plugin_full_name": { "type": "string" }, |
104 | | - "version": { "type": "string" } |
105 | | - }, |
106 | | - "required": ["plugin_full_name", "install"] |
| 116 | + "uniqueItems": true |
107 | 117 | } |
108 | 118 | }, |
109 | 119 | "uniqueItems": true |
|
0 commit comments