You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,18 +8,19 @@ Follow the example on `easyclone.example.yaml`
8
8
9
9
## Config
10
10
11
-
-`root` (default: `.`): Location of the moodle base or any project
12
-
-`strict` (default: `false`): see explanation of`repositories.enable`
11
+
-`root` (default: `.`): location of the moodle base or any project
12
+
-`strict` (default: `false`): if `true` delete`repositories.target` if `repositories.enable` is `true` and `repositories.target` directory is exist
13
13
-`force` (default: `false`): if `true` it will not ask confirmation when deleting folder
14
-
-`skip` (default: `false`): skip install when `repositories.target` exist. **Warning!** This config have lower priority than `repositories.enable` and `strict`, so even if `skip` is `true` but `repositories.enable` is `false` and `strict` is `true`, it will still delete the existing directory
15
14
-`cleanup`(default: `[.git, .github]`): array of string which files or folders will be deleted after installing plugin
15
+
-`skip` (default: `false`): if `repositories.enable` is `true` and `strict` is `false`, will `skip` installation
16
16
-`repositories`:
17
17
-`url`: URL of the repo, can be `org/repo` for Github repositories or absolute URL `https://gitlab.com/org/repo.git`. **Mutually exclusive with `path`**
18
18
-`branch` (optional): specify branch or tag otherwise it will clone the latest. Only when `url` is specified
19
19
-`hash` (optional): specify hash. This will skip `branch` config if specified. Only when `url` is specified
20
20
-`path`: path to the plugin for local directory. **Mutually exclusive with `url`**
21
21
-`target`: location to install
22
-
-`enable` (default: `true`): if `strict` is `true` and this value is `false` it will delete existing directory, otherwise it will just skip installing if `false`
22
+
-`enable` (default: `true`): enable installation of the plugin. See `skip` and `strict` for how to delete existing plugin
23
+
-`skip` (optional, boolean): same as parent config `skip` but takes higher priority if set
23
24
-`cleanup` (default: `[]`): Same as `cleanup` parent config but specific files or folders per plugin
0 commit comments