forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aliases.json
65 lines (65 loc) · 2.4 KB
/
aliases.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://json.schemastore.org/aliases.json",
"additionalProperties": false,
"description": "An alias of the current directory\nhttps://github.com/sebglazebrook/aliases#usage",
"patternProperties": {
"^[^ ]+$": {
"title": "alias",
"description": "An alias of the current directory\nhttps://github.com/sebglazebrook/aliases#usage",
"type": "object",
"required": ["command"],
"properties": {
"command": {
"title": "command",
"description": "A command of the current alias\nhttps://github.com/sebglazebrook/aliases#usage",
"type": "string",
"minLength": 1,
"examples": ["ls"]
},
"confirm": {
"title": "confirm",
"description": "Whether to confirm a command execution of the current alias\nhttps://github.com/sebglazebrook/aliases#usage",
"type": "boolean",
"default": false
},
"confirmation_message": {
"title": "confirmation message",
"description": "A confirmation message of the current alias\nhttps://github.com/sebglazebrook/aliases#usage",
"type": "string",
"minLength": 1,
"examples": ["Do you want to execute this command?"]
},
"conditional": {
"title": "conditional",
"description": "A conditional of the current alias\nhttps://github.com/sebglazebrook/aliases#usage",
"type": "string",
"minLength": 1,
"examples": ["/bin/true"]
},
"backout_seconds": {
"title": "backout seconds",
"description": "A backout of the current alias\nhttps://github.com/sebglazebrook/aliases#usage",
"type": "integer",
"minimum": 0
},
"unit_test": {
"title": "conditional",
"description": "A unit test of the current alias\nhttps://github.com/sebglazebrook/aliases#usage",
"type": "string",
"minLength": 1,
"examples": ["[ true = true ]"]
},
"quiet": {
"title": "quiet",
"description": "Whether to display a command before execution of the current alias\nhttps://github.com/sebglazebrook/aliases#usage",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
},
"title": "alias",
"type": "object"
}