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
@@ -37,10 +38,9 @@ The following functions are already implemented:
37
38
38
39
*[Workspace Functions](#workspaceSpecific)
39
40
1.[changeWorkspace](#changeWorkspace)
40
-
2.[createFolder](#createFolder)
41
-
3.[restoreWorkspace](#restoreWorkspace)
41
+
2.[restoreWorkspace](#restoreWorkspace)
42
42
43
-
*[Other Function](#otherFunctions)
43
+
*[Custom Function](#customFunctions)
44
44
1.[addSetupScript](#addSetupScript)
45
45
2.[executeCommand](#executeCommand)
46
46
@@ -450,7 +450,26 @@ This function will work without a devonfw-ide installation.
450
450
451
451
***
452
452
453
-
### iii. downloadFile <aname="downloadFile"></a>
453
+
### iii. createFolder <aname="createFolder"></a>
454
+
This function is used to create a new folder.
455
+
#### Parameter:
456
+
This function consist of one parameter.
457
+
458
+
1. First parameter:
459
+
-**Required**
460
+
-**Type**- String
461
+
-**Description**- Path of the folder to be created (relative to working directory). Subdirectories are also created.
462
+
463
+
#### Example:
464
+
* createFolder("directoryPath/subDirectory")
465
+
466
+
##### Note:
467
+
1. The command for execution will be generated by Katacoda runner, so user will have to execute this command manually.
468
+
2. It can be used before any command which needs to be executed in such folder which doesn't exist.
469
+
470
+
***
471
+
472
+
### iv. downloadFile <aname="downloadFile"></a>
454
473
This function is used to download a file from an external URL.
455
474
#### Parameter:
456
475
This function consist of 3 parameters.
@@ -474,7 +493,7 @@ The command for execution will be generated by Katacoda runner, so user will hav
474
493
475
494
***
476
495
477
-
### iv. openFile <aname="openFile"></a>
496
+
### v. openFile <aname="openFile"></a>
478
497
This function is used to open a particular file.
479
498
480
499
#### Parameter:
@@ -593,26 +612,7 @@ Learn more about the workspace directory and working directory on [Structure](ht
593
612
594
613
***
595
614
596
-
### ii. createFolder <aname="createFolder"></a>
597
-
This function is used to create a new folder.
598
-
#### Parameter:
599
-
This function consist of one parameter.
600
-
601
-
1. First parameter:
602
-
-**Required**
603
-
-**Type**- String
604
-
-**Description**- Path of the folder to be created (relative to working directory). Subdirectories are also created.
605
-
606
-
#### Example:
607
-
* createFolder("directoryPath/subDirectory")
608
-
609
-
##### Note:
610
-
1. The command for execution will be generated by Katacoda runner, so user will have to execute this command manually.
611
-
2. It can be used before any command which needs to be executed in such folder which doesn't exist.
612
-
613
-
***
614
-
615
-
### iii. restoreWorkspace <aname="restoreWorkspace"></a>
615
+
### ii. restoreWorkspace <aname="restoreWorkspace"></a>
616
616
This function is used to clone an existing GitHub repository to the working directory of the tutorial. It can be used to continue the tutorial with the state of a previous tutorial located in the repository to be cloned.
617
617
#### Parameter:
618
618
This function only consist of one parameter.
@@ -680,7 +680,7 @@ Learn more about the workspace directory and working directory on [Structure](ht
680
680
681
681
***
682
682
683
-
## Other Functions <aname="otherFunctions"></a>
683
+
## Custom Functions <aname="customFunctions"></a>
684
684
685
685
### i. addSetupScript <aname="addSetupScript"></a>
686
686
This function is used to add a script which is executed on startup of the tutorial.
0 commit comments