|
1 | 1 | { |
2 | 2 | "$schema": "http://json-schema.org/draft-07/schema", |
3 | 3 | "title": "strings", |
4 | | - "description": "Strings of the current application", |
| 4 | + "description": "Strings of the current application\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
5 | 5 | "type": "object", |
6 | 6 | "properties": { |
7 | 7 | "usage": { |
8 | 8 | "title": "usage", |
9 | | - "description": "A usage caption of the current script", |
| 9 | + "description": "A usage caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
10 | 10 | "type": "string", |
11 | 11 | "minLength": 1, |
12 | 12 | "default": "Usage:" |
13 | 13 | }, |
14 | 14 | "options": { |
15 | 15 | "title": "options", |
16 | | - "description": "An option caption of the current script", |
| 16 | + "description": "An option caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
17 | 17 | "type": "string", |
18 | 18 | "minLength": 1, |
19 | 19 | "default": "Options:" |
20 | 20 | }, |
21 | 21 | "arguments": { |
22 | 22 | "title": "arguments", |
23 | | - "description": "An argument caption of the current script", |
| 23 | + "description": "An argument caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
24 | 24 | "type": "string", |
25 | 25 | "minLength": 1, |
26 | 26 | "default": "Arguments:" |
27 | 27 | }, |
28 | 28 | "commands": { |
29 | 29 | "title": "commands", |
30 | | - "description": "A command caption of the current script", |
| 30 | + "description": "A command caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
31 | 31 | "type": "string", |
32 | 32 | "minLength": 1, |
33 | 33 | "default": "Commands:" |
34 | 34 | }, |
35 | 35 | "examples": { |
36 | 36 | "title": "examples", |
37 | | - "description": "An example caption of the current script", |
| 37 | + "description": "An example caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
38 | 38 | "type": "string", |
39 | 39 | "minLength": 1, |
40 | 40 | "default": "Examples:" |
41 | 41 | }, |
42 | 42 | "environment_variables": { |
43 | 43 | "title": "environment variables", |
44 | | - "description": "An environment variable caption of the current script", |
| 44 | + "description": "An environment variable caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
45 | 45 | "type": "string", |
46 | 46 | "minLength": 1, |
47 | 47 | "default": "Environment Variables:" |
48 | 48 | }, |
49 | 49 | "group": { |
50 | 50 | "title": "group", |
51 | | - "description": "A group caption of the current script", |
| 51 | + "description": "A group caption of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
52 | 52 | "type": "string", |
53 | 53 | "minLength": 1, |
54 | 54 | "default": "%{group} Commands:" |
55 | 55 | }, |
56 | 56 | "command_alias": { |
57 | 57 | "title": "command alias", |
58 | | - "description": "An alias helper of the current script", |
| 58 | + "description": "An alias helper of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
59 | 59 | "type": "string", |
60 | 60 | "minLength": 1, |
61 | 61 | "default": "Alias: %{alias}" |
62 | 62 | }, |
63 | 63 | "default_command_summary": { |
64 | 64 | "title": "default command summary", |
65 | | - "description": "A default command summary helper of the current script", |
| 65 | + "description": "A default command summary helper of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
66 | 66 | "type": "string", |
67 | 67 | "minLength": 1, |
68 | 68 | "default": "%{summary} (default)" |
69 | 69 | }, |
70 | 70 | "required": { |
71 | 71 | "title": "required", |
72 | | - "description": "A required helper of the current script", |
| 72 | + "description": "A required helper of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
73 | 73 | "type": "string", |
74 | 74 | "minLength": 1, |
75 | 75 | "default": "(required)" |
76 | 76 | }, |
77 | 77 | "repeatable": { |
78 | 78 | "title": "repeatable", |
79 | | - "description": "A repeatable helper of the current script", |
| 79 | + "description": "A repeatable helper of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
80 | 80 | "type": "string", |
81 | 81 | "minLength": 1, |
82 | 82 | "default": "(repeatable)" |
83 | 83 | }, |
84 | 84 | "default": { |
85 | 85 | "title": "default", |
86 | | - "description": "A default helper of the current script", |
| 86 | + "description": "A default helper of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
87 | 87 | "type": "string", |
88 | 88 | "minLength": 1, |
89 | 89 | "default": "Default: %{value}" |
90 | 90 | }, |
91 | 91 | "allowed": { |
92 | 92 | "title": "allowed", |
93 | | - "description": "An allowed helper of the current script", |
| 93 | + "description": "An allowed helper of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
94 | 94 | "type": "string", |
95 | 95 | "minLength": 1, |
96 | 96 | "default": "Allowed: %{values}" |
97 | 97 | }, |
98 | 98 | "help_flag_text": { |
99 | 99 | "title": "help flag text", |
100 | | - "description": "A help flag of the current script", |
| 100 | + "description": "A help flag of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
101 | 101 | "type": "string", |
102 | 102 | "minLength": 1, |
103 | 103 | "default": "Show this help" |
104 | 104 | }, |
105 | 105 | "version_flag_text": { |
106 | 106 | "title": "version flag text", |
107 | | - "description": "A version flag of the current script", |
| 107 | + "description": "A version flag of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
108 | 108 | "type": "string", |
109 | 109 | "minLength": 1, |
110 | 110 | "default": "Show version number" |
111 | 111 | }, |
112 | 112 | "flag_requires_an_argument": { |
113 | 113 | "title": "flag requires an argument", |
114 | | - "description": "A missing flag argument error of the current script", |
| 114 | + "description": "A missing flag argument error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
115 | 115 | "type": "string", |
116 | 116 | "minLength": 1, |
117 | 117 | "default": "%{name} requires an argument: %{usage}" |
118 | 118 | }, |
119 | 119 | "invalid_argument": { |
120 | 120 | "title": "invalid argument", |
121 | | - "description": "An invalid argument error of the current script", |
| 121 | + "description": "An invalid argument error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
122 | 122 | "type": "string", |
123 | 123 | "minLength": 1, |
124 | 124 | "default": "invalid argument: %s" |
125 | 125 | }, |
126 | 126 | "invalid_flag": { |
127 | 127 | "title": "invalid flag", |
128 | | - "description": "An invalid option error of the current script", |
| 128 | + "description": "An invalid option error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
129 | 129 | "type": "string", |
130 | 130 | "minLength": 1, |
131 | 131 | "default": "invalid option: %s" |
132 | 132 | }, |
133 | 133 | "invalid_command": { |
134 | 134 | "title": "invalid command", |
135 | | - "description": "An invalid command error of the current script", |
| 135 | + "description": "An invalid command error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
136 | 136 | "type": "string", |
137 | 137 | "minLength": 1, |
138 | 138 | "default": "invalid command: %s" |
139 | 139 | }, |
140 | 140 | "conflicting_flags": { |
141 | 141 | "title": "conflicting flags", |
142 | | - "description": "A conflicting options error of the current script", |
| 142 | + "description": "A conflicting options error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
143 | 143 | "type": "string", |
144 | 144 | "minLength": 1, |
145 | 145 | "default": "conflicting options: %s cannot be used with %s" |
146 | 146 | }, |
147 | 147 | "missing_required_argument": { |
148 | 148 | "title": "missing required argument", |
149 | | - "description": "A missing required argument error of the current script", |
| 149 | + "description": "A missing required argument error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
150 | 150 | "type": "string", |
151 | 151 | "minLength": 1, |
152 | 152 | "default": "missing required argument: %{arg}\\nusage: %{usage}" |
153 | 153 | }, |
154 | 154 | "missing_required_flag": { |
155 | 155 | "title": "missing required flag", |
156 | | - "description": "A missing required flag error of the current script", |
| 156 | + "description": "A missing required flag error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
157 | 157 | "type": "string", |
158 | 158 | "minLength": 1, |
159 | 159 | "default": "missing required flag: %{usage}" |
160 | 160 | }, |
161 | 161 | "missing_required_environment_variable": { |
162 | 162 | "title": "missing required environment variable", |
163 | | - "description": "A missing required environment variable error of the current script", |
| 163 | + "description": "A missing required environment variable error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
164 | 164 | "type": "string", |
165 | 165 | "minLength": 1, |
166 | 166 | "default": "missing required environment variable: %{var}" |
167 | 167 | }, |
168 | 168 | "missing_dependency": { |
169 | 169 | "title": "missing dependency", |
170 | | - "description": "A missing dependency error of the current script", |
| 170 | + "description": "A missing dependency error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
171 | 171 | "type": "string", |
172 | 172 | "minLength": 1, |
173 | 173 | "default": "missing dependency: %{dependency}" |
174 | 174 | }, |
175 | 175 | "disallowed_flag": { |
176 | 176 | "title": "disallowed flag", |
177 | | - "description": "A forbidden flag error of the current script", |
| 177 | + "description": "A forbidden flag error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
178 | 178 | "type": "string", |
179 | 179 | "minLength": 1, |
180 | 180 | "default": "%{name} must be one of: %{allowed}" |
181 | 181 | }, |
182 | 182 | "disallowed_argument": { |
183 | 183 | "title": "disallowed argument", |
184 | | - "description": "A forbidden argument error of the current script", |
| 184 | + "description": "A forbidden argument error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
185 | 185 | "type": "string", |
186 | 186 | "minLength": 1, |
187 | 187 | "default": "%{name} must be one of: %{allowed}" |
188 | 188 | }, |
189 | 189 | "unsupported_bash_version": { |
190 | 190 | "title": "unsupported bash version", |
191 | | - "description": "An unsupported Bash version error of the current script", |
| 191 | + "description": "An unsupported Bash version error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
192 | 192 | "type": "string", |
193 | 193 | "minLength": 1, |
194 | 194 | "default": "bash version 4 or higher is required" |
195 | 195 | }, |
196 | 196 | "validation_error": { |
197 | 197 | "title": "validation error", |
198 | | - "description": "A validation error of the current script", |
| 198 | + "description": "A validation error of the current script\nhttps://bashly.dannyb.co/advanced/strings/#custom-strings", |
199 | 199 | "type": "string", |
200 | 200 | "minLength": 1, |
201 | 201 | "default": "validation error in %s:\\n%s" |
|
0 commit comments