Skip to content

Commit dcfbcb8

Browse files
Added documentation
1 parent 20f4291 commit dcfbcb8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

documentation/Functions.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The following functions are already implemented:
66
* createDevon4jProject
77
* buildJava
88
* createFile
9+
* cloneRepository
910

1011
***
1112

@@ -96,3 +97,14 @@ A placeholder is optional. If you do not define a placeholder, the content in th
9697
Please try not to use custom placeholders. Keep in mind that you might want to build the project before changing them. Custom placeholders with a comment-syntax (e.g. "//PLACEHOLDER") will be removed by the console-environment and others might cause errors.
9798

9899
***
100+
101+
### cloneRepository
102+
#### parameter
103+
1. Path into which the repository is to be cloned, relative to workspace
104+
2. Git Repository URL
105+
#### example
106+
cloneRepository("", "https://github.com/devonfw-forge/tutorial-compiler.git")
107+
108+
Repository will be cloned directly into the workspace directory.
109+
110+
***

0 commit comments

Comments
 (0)