@@ -37,7 +37,7 @@ So, you can use all your favorites tools keeping it under control and versioned.
37
37
# Main Index:
38
38
39
39
- [ Plugins] ( #plugins )
40
- - from ** piscosour v.0.6.8 **
40
+ - from ** piscosour v.0.6.11 **
41
41
- [ context] ( #context )
42
42
- [ fsutils] ( #fsutils )
43
43
- [ inquirer] ( #inquirer )
@@ -52,7 +52,7 @@ So, you can use all your favorites tools keeping it under control and versioned.
52
52
- [ Contexts] ( #contexts )
53
53
- [ Recipes] ( #recipes )
54
54
- [ All Commands Availables] ( #all-commands-availables )
55
- - from ** piscosour v.0.6.8 **
55
+ - from ** piscosour v.0.6.11 **
56
56
- [ node-module: convert (Convert any module into a piscosour recipe)] ( #node-moduleconvert-convert-any-module-into-a-piscosour-recipe )
57
57
- [ recipe: add-shot (Add a shot to a piscosour recipe)] ( #recipeadd-shot-add-a-shot-to-a-piscosour-recipe )
58
58
- [ recipe: add-straw (Add a straw to a piscosour recipe)] ( #recipeadd-straw-add-a-straw-to-a-piscosour-recipe )
@@ -88,7 +88,7 @@ General info:
88
88
89
89
```
90
90
Contexts: node-module
91
- From: piscosour (0.6.8 )
91
+ From: piscosour (0.6.11 )
92
92
```
93
93
shot convert
94
94
@@ -107,7 +107,7 @@ General info:
107
107
108
108
```
109
109
Contexts: recipe
110
- From: piscosour (0.6.8 )
110
+ From: piscosour (0.6.11 )
111
111
```
112
112
shot shots
113
113
@@ -126,7 +126,7 @@ General info:
126
126
127
127
```
128
128
Contexts: recipe
129
- From: piscosour (0.6.8 )
129
+ From: piscosour (0.6.11 )
130
130
```
131
131
shot straws
132
132
@@ -145,7 +145,7 @@ General info:
145
145
146
146
```
147
147
Contexts: recipe
148
- From: piscosour (0.6.8 )
148
+ From: piscosour (0.6.11 )
149
149
```
150
150
shot piscosour
151
151
@@ -177,7 +177,7 @@ General info:
177
177
178
178
```
179
179
Contexts: recipe
180
- From: piscosour (0.6.8 )
180
+ From: piscosour (0.6.11 )
181
181
```
182
182
shot scaffolding
183
183
@@ -204,7 +204,7 @@ General info:
204
204
205
205
```
206
206
Contexts: recipe
207
- From: piscosour (0.6.8 )
207
+ From: piscosour (0.6.11 )
208
208
```
209
209
shot generate-docs
210
210
@@ -220,7 +220,7 @@ General info:
220
220
221
221
```
222
222
Contexts: all
223
- From: piscosour (0.6.8 )
223
+ From: piscosour (0.6.11 )
224
224
```
225
225
shot npm
226
226
@@ -236,7 +236,7 @@ General info:
236
236
237
237
```
238
238
Contexts: node-module
239
- From: piscosour (0.6.8 )
239
+ From: piscosour (0.6.11 )
240
240
```
241
241
shot convert
242
242
@@ -252,7 +252,7 @@ General info:
252
252
253
253
```
254
254
Contexts: recipe
255
- From: piscosour (0.6.8 )
255
+ From: piscosour (0.6.11 )
256
256
```
257
257
shot shots
258
258
@@ -268,7 +268,7 @@ General info:
268
268
269
269
```
270
270
Contexts: recipe
271
- From: piscosour (0.6.8 )
271
+ From: piscosour (0.6.11 )
272
272
```
273
273
shot straws
274
274
@@ -284,7 +284,7 @@ General info:
284
284
285
285
```
286
286
Contexts: recipe
287
- From: piscosour (0.6.8 )
287
+ From: piscosour (0.6.11 )
288
288
```
289
289
shot piscosour
290
290
@@ -300,7 +300,7 @@ General info:
300
300
301
301
```
302
302
Contexts: recipe
303
- From: piscosour (0.6.8 )
303
+ From: piscosour (0.6.11 )
304
304
```
305
305
shot generate-docs
306
306
@@ -316,7 +316,7 @@ General info:
316
316
317
317
```
318
318
Contexts: recipe
319
- From: piscosour (0.6.8 )
319
+ From: piscosour (0.6.11 )
320
320
```
321
321
shot scaffolding
322
322
@@ -332,7 +332,7 @@ General info:
332
332
333
333
```
334
334
Contexts: recipe
335
- From: piscosour (0.6.8 )
335
+ From: piscosour (0.6.11 )
336
336
```
337
337
### Update version of recipe
338
338
@@ -343,7 +343,7 @@ This shot execute npm install -g **recipeName**. recipeName has to be in params.
343
343
344
344
345
345
## context
346
- from: ** piscosour (0.6.8 )** [ Go Index] ( #main-index )
346
+ from: ** piscosour (0.6.11 )** [ Go Index] ( #main-index )
347
347
348
348
### Context for the pisco execution
349
349
@@ -450,7 +450,7 @@ let repos = this.ctxWhoami();
450
450
451
451
repos is an Array of types that match the place where your recipe was executed.
452
452
## fsutils
453
- from: ** piscosour (0.6.8 )** [ Go Index] ( #main-index )
453
+ from: ** piscosour (0.6.11 )** [ Go Index] ( #main-index )
454
454
455
455
### fs plugin (fs addons for piscosour)
456
456
@@ -497,19 +497,43 @@ from: **piscosour (0.6.8)** [Go Index](#main-index)
497
497
| | |
498
498
499
499
## inquirer
500
- from: ** piscosour (0.6.8 )** [ Go Index] ( #main-index )
500
+ from: ** piscosour (0.6.11 )** [ Go Index] ( #main-index )
501
501
502
502
### Inquirer plugin
503
503
504
504
This plugin use inquirer library [ Inquirer documentation] ( https://www.npmjs.com/package/inquirer )
505
505
506
+ set type
507
+
508
+ params.json
509
+ ```
510
+ "prompts": [
511
+ {
512
+ "type": "#setType()",
513
+ "name": "doDefault",
514
+ "required": true,
515
+ "message": "Do you want to set default repository type?"
516
+ }
517
+ ],
518
+ ```
519
+
520
+ - '#' indicate that is necesary to use a function in the shot in order to resolve the type value.
521
+ - '()' set that pisco needs to execute this function on order to get the value.
522
+
523
+ shot.js
524
+ ```
525
+ setType: function() {
526
+ return 'confirm';
527
+ },
528
+ ```
529
+
506
530
#### this.inquire
507
531
508
532
| Param | Description |
509
533
| --- | --- |
510
534
| | |
511
535
## launcher
512
- from: ** piscosour (0.6.8 )** [ Go Index] ( #main-index )
536
+ from: ** piscosour (0.6.11 )** [ Go Index] ( #main-index )
513
537
514
538
### Execute any command with pisco.
515
539
@@ -555,7 +579,7 @@ Syncronous method use to execute any command in your environment.
555
579
| --- | --- |
556
580
| | |
557
581
## os
558
- from: ** piscosour (0.6.8 )** [ Go Index] ( #main-index )
582
+ from: ** piscosour (0.6.11 )** [ Go Index] ( #main-index )
559
583
560
584
561
585
Plugins used to check Operating System where pisco is running
@@ -570,7 +594,7 @@ return true if the Operation System where pisco is executed is Windows.
570
594
571
595
return true if the Operation System where pisco is executed is MacOS.
572
596
## piscosour
573
- from: ** piscosour (0.6.8 )** [ Go Index] ( #main-index )
597
+ from: ** piscosour (0.6.11 )** [ Go Index] ( #main-index )
574
598
575
599
### Expose piscosour config
576
600
@@ -590,14 +614,14 @@ return the literal: 'package.json'
590
614
591
615
592
616
## skipper
593
- from: ** piscosour (0.6.8 )** [ Go Index] ( #main-index )
617
+ from: ** piscosour (0.6.11 )** [ Go Index] ( #main-index )
594
618
595
619
### Skipper plugin
596
620
597
621
Skips the shot execution when receiving the param "\_ skip": true
598
622
599
623
## stream-write-hook
600
- from: ** piscosour (0.6.8 )** [ Go Index] ( #main-index )
624
+ from: ** piscosour (0.6.11 )** [ Go Index] ( #main-index )
601
625
602
626
### Intercepts any stream flow in order to be able to manage the information inside.
603
627
@@ -648,7 +672,7 @@ stops the hook
648
672
649
673
650
674
## system-checker
651
- from: ** piscosour (0.6.8 )** [ Go Index] ( #main-index )
675
+ from: ** piscosour (0.6.11 )** [ Go Index] ( #main-index )
652
676
653
677
### How to check system requirements of a piscosour command.
654
678
@@ -796,7 +820,7 @@ this is the result of the execution for every shot that would have system requir
796
820
797
821
If any system requirement is not satisfied the command will throw an error and stops...
798
822
## system-saver
799
- from: ** piscosour (0.6.8 )** [ Go Index] ( #main-index )
823
+ from: ** piscosour (0.6.11 )** [ Go Index] ( #main-index )
800
824
801
825
### Write the requirements into a global file 'requirements.json'
802
826
@@ -838,7 +862,7 @@ this is the file resulting of the execution: the mix of all system requirements
838
862
}
839
863
```
840
864
## test
841
- from: ** piscosour (0.6.8 )** [ Go Index] ( #main-index )
865
+ from: ** piscosour (0.6.11 )** [ Go Index] ( #main-index )
842
866
843
867
Testing plugin. NO FUNCTIONALITY.
844
868
# Contexts
@@ -860,6 +884,6 @@ Testing plugin. NO FUNCTIONALITY.
860
884
861
885
| Name| Version| Description|
862
886
| ---| ---| ---|
863
- | piscosour| 0.6.8 | Get all your devops tools wrapped-up!|
887
+ | piscosour| 0.6.11 | Get all your devops tools wrapped-up!|
864
888
865
889
0 commit comments