Skip to content

Commit 2dc69be

Browse files
authored
feat: json scheme (#47)
1 parent f46c684 commit 2dc69be

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

scheme.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "JSON scheme for .ghqrc",
4+
"$ref": "#/definitions/Schema",
5+
"definitions": {
6+
"root": {
7+
"type": "string",
8+
"default": "~/ghq",
9+
"description": "The path to directory under which cloned repositories placed."
10+
},
11+
"shallow": {
12+
"type": "boolean",
13+
"default": false,
14+
"description": "Shallow clone (git clone --depth 1)"
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)