puppet-strings 2.4.0 → 2.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +97 -5
  3. data/COMMITTERS.md +17 -17
  4. data/CONTRIBUTING.md +6 -6
  5. data/README.md +10 -10
  6. data/lib/puppet-strings.rb +4 -2
  7. data/lib/puppet-strings/describe.rb +2 -0
  8. data/lib/puppet-strings/json.rb +2 -0
  9. data/lib/puppet-strings/markdown.rb +12 -10
  10. data/lib/puppet-strings/markdown/base.rb +17 -3
  11. data/lib/puppet-strings/markdown/data_type.rb +18 -0
  12. data/lib/puppet-strings/markdown/data_types.rb +3 -1
  13. data/lib/puppet-strings/markdown/defined_type.rb +2 -0
  14. data/lib/puppet-strings/markdown/defined_types.rb +3 -1
  15. data/lib/puppet-strings/markdown/function.rb +9 -7
  16. data/lib/puppet-strings/markdown/functions.rb +3 -1
  17. data/lib/puppet-strings/markdown/puppet_class.rb +2 -0
  18. data/lib/puppet-strings/markdown/puppet_classes.rb +3 -1
  19. data/lib/puppet-strings/markdown/puppet_plan.rb +2 -0
  20. data/lib/puppet-strings/markdown/puppet_plans.rb +3 -1
  21. data/lib/puppet-strings/markdown/puppet_task.rb +2 -0
  22. data/lib/puppet-strings/markdown/puppet_tasks.rb +3 -1
  23. data/lib/puppet-strings/markdown/resource_type.rb +21 -2
  24. data/lib/puppet-strings/markdown/resource_types.rb +3 -1
  25. data/lib/puppet-strings/markdown/table_of_contents.rb +3 -1
  26. data/lib/puppet-strings/markdown/templates/classes_and_defines.erb +10 -6
  27. data/lib/puppet-strings/markdown/templates/data_type.erb +22 -7
  28. data/lib/puppet-strings/markdown/templates/data_type_function.erb +67 -0
  29. data/lib/puppet-strings/markdown/templates/function.erb +2 -1
  30. data/lib/puppet-strings/markdown/templates/puppet_task.erb +1 -1
  31. data/lib/puppet-strings/markdown/templates/resource_type.erb +19 -13
  32. data/lib/puppet-strings/markdown/templates/table_of_contents.erb +6 -6
  33. data/lib/puppet-strings/monkey_patches/display_object_command.rb +2 -0
  34. data/lib/puppet-strings/tasks.rb +2 -0
  35. data/lib/puppet-strings/tasks/generate.rb +2 -0
  36. data/lib/puppet-strings/tasks/gh_pages.rb +3 -0
  37. data/lib/puppet-strings/version.rb +3 -1
  38. data/lib/puppet-strings/yard.rb +3 -0
  39. data/lib/puppet-strings/yard/code_objects.rb +2 -0
  40. data/lib/puppet-strings/yard/code_objects/base.rb +2 -0
  41. data/lib/puppet-strings/yard/code_objects/class.rb +4 -2
  42. data/lib/puppet-strings/yard/code_objects/data_type.rb +30 -8
  43. data/lib/puppet-strings/yard/code_objects/data_type_alias.rb +2 -0
  44. data/lib/puppet-strings/yard/code_objects/defined_type.rb +4 -2
  45. data/lib/puppet-strings/yard/code_objects/function.rb +6 -3
  46. data/lib/puppet-strings/yard/code_objects/group.rb +3 -0
  47. data/lib/puppet-strings/yard/code_objects/plan.rb +4 -2
  48. data/lib/puppet-strings/yard/code_objects/provider.rb +6 -0
  49. data/lib/puppet-strings/yard/code_objects/task.rb +2 -0
  50. data/lib/puppet-strings/yard/code_objects/type.rb +50 -5
  51. data/lib/puppet-strings/yard/handlers.rb +2 -0
  52. data/lib/puppet-strings/yard/handlers/helpers.rb +2 -0
  53. data/lib/puppet-strings/yard/handlers/json/base.rb +2 -0
  54. data/lib/puppet-strings/yard/handlers/json/task_handler.rb +2 -0
  55. data/lib/puppet-strings/yard/handlers/puppet/base.rb +3 -0
  56. data/lib/puppet-strings/yard/handlers/puppet/class_handler.rb +2 -0
  57. data/lib/puppet-strings/yard/handlers/puppet/data_type_alias_handler.rb +2 -0
  58. data/lib/puppet-strings/yard/handlers/puppet/defined_type_handler.rb +2 -0
  59. data/lib/puppet-strings/yard/handlers/puppet/function_handler.rb +3 -1
  60. data/lib/puppet-strings/yard/handlers/puppet/plan_handler.rb +2 -0
  61. data/lib/puppet-strings/yard/handlers/ruby/base.rb +5 -0
  62. data/lib/puppet-strings/yard/handlers/ruby/data_type_handler.rb +223 -60
  63. data/lib/puppet-strings/yard/handlers/ruby/function_handler.rb +9 -7
  64. data/lib/puppet-strings/yard/handlers/ruby/provider_handler.rb +13 -0
  65. data/lib/puppet-strings/yard/handlers/ruby/rsapi_handler.rb +4 -1
  66. data/lib/puppet-strings/yard/handlers/ruby/type_base.rb +20 -6
  67. data/lib/puppet-strings/yard/handlers/ruby/type_extras_handler.rb +16 -6
  68. data/lib/puppet-strings/yard/handlers/ruby/type_handler.rb +18 -1
  69. data/lib/puppet-strings/yard/parsers.rb +2 -0
  70. data/lib/puppet-strings/yard/parsers/json/parser.rb +2 -0
  71. data/lib/puppet-strings/yard/parsers/json/task_statement.rb +2 -0
  72. data/lib/puppet-strings/yard/parsers/puppet/parser.rb +18 -14
  73. data/lib/puppet-strings/yard/parsers/puppet/statement.rb +4 -0
  74. data/lib/puppet-strings/yard/tags.rb +2 -0
  75. data/lib/puppet-strings/yard/tags/enum_tag.rb +2 -0
  76. data/lib/puppet-strings/yard/tags/factory.rb +2 -0
  77. data/lib/puppet-strings/yard/tags/overload_tag.rb +4 -1
  78. data/lib/puppet-strings/yard/tags/parameter_directive.rb +5 -4
  79. data/lib/puppet-strings/yard/tags/property_directive.rb +5 -4
  80. data/lib/puppet-strings/yard/tags/summary_tag.rb +2 -0
  81. data/lib/puppet-strings/yard/templates/default/puppet_data_type/html/method_details_list.erb +6 -0
  82. data/lib/puppet-strings/yard/templates/default/puppet_data_type/html/setup.rb +9 -1
  83. data/lib/puppet-strings/yard/templates/default/puppet_function/html/setup.rb +1 -1
  84. data/lib/puppet-strings/yard/templates/default/puppet_type/html/setup.rb +3 -1
  85. data/lib/puppet-strings/yard/util.rb +4 -1
  86. data/lib/puppet/application/strings.rb +2 -0
  87. data/lib/puppet/face/strings.rb +4 -1
  88. data/lib/puppet/feature/rgen.rb +2 -0
  89. data/lib/puppet/feature/yard.rb +2 -0
  90. metadata +11 -52
  91. data/CODEOWNERS +0 -1
  92. data/Gemfile +0 -53
  93. data/HISTORY.md +0 -218
  94. data/JSON.md +0 -832
  95. data/Rakefile +0 -160
  96. data/codecov.yml +0 -3
  97. data/misc/ANNOUNCEMENT_TEMPLATE.md +0 -40
  98. data/spec/acceptance/emit_json_options_spec.rb +0 -69
  99. data/spec/acceptance/generate_markdown_spec.rb +0 -47
  100. data/spec/acceptance/running_strings_generate_spec.rb +0 -88
  101. data/spec/fixtures/acceptance/modules/test/functions/add.pp +0 -9
  102. data/spec/fixtures/acceptance/modules/test/lib/puppet/functions/4x_function.rb +0 -5
  103. data/spec/fixtures/acceptance/modules/test/lib/puppet/parser/functions/function3x.rb +0 -2
  104. data/spec/fixtures/acceptance/modules/test/lib/puppet/provider/server/linux.rb +0 -9
  105. data/spec/fixtures/acceptance/modules/test/lib/puppet/type/database.rb +0 -15
  106. data/spec/fixtures/acceptance/modules/test/manifests/init.pp +0 -31
  107. data/spec/fixtures/acceptance/modules/test/manifests/triple_nested_classes.pp +0 -27
  108. data/spec/fixtures/acceptance/modules/test/metadata.json +0 -10
  109. data/spec/fixtures/acceptance/modules/test/types/elephant.pp +0 -2
  110. data/spec/fixtures/unit/markdown/output.md +0 -561
  111. data/spec/fixtures/unit/markdown/output_with_data_types.md +0 -606
  112. data/spec/fixtures/unit/markdown/output_with_plan.md +0 -595
  113. data/spec/spec_helper.rb +0 -49
  114. data/spec/spec_helper_acceptance.rb +0 -58
  115. data/spec/spec_helper_acceptance_local.rb +0 -10
  116. data/spec/unit/puppet-strings/describe_spec.rb +0 -141
  117. data/spec/unit/puppet-strings/json_spec.rb +0 -302
  118. data/spec/unit/puppet-strings/markdown/base_spec.rb +0 -146
  119. data/spec/unit/puppet-strings/markdown_spec.rb +0 -374
  120. data/spec/unit/puppet-strings/yard/code_objects/task_spec.rb +0 -92
  121. data/spec/unit/puppet-strings/yard/handlers/json/task_handler_spec.rb +0 -116
  122. data/spec/unit/puppet-strings/yard/handlers/puppet/class_handler_spec.rb +0 -217
  123. data/spec/unit/puppet-strings/yard/handlers/puppet/data_type_alias_handler_spec.rb +0 -65
  124. data/spec/unit/puppet-strings/yard/handlers/puppet/defined_type_handler_spec.rb +0 -231
  125. data/spec/unit/puppet-strings/yard/handlers/puppet/function_handler_spec.rb +0 -315
  126. data/spec/unit/puppet-strings/yard/handlers/ruby/data_type_handler_spec.rb +0 -309
  127. data/spec/unit/puppet-strings/yard/handlers/ruby/function_handler_spec.rb +0 -746
  128. data/spec/unit/puppet-strings/yard/handlers/ruby/provider_handler_spec.rb +0 -158
  129. data/spec/unit/puppet-strings/yard/handlers/ruby/rsapi_handler_spec.rb +0 -235
  130. data/spec/unit/puppet-strings/yard/handlers/ruby/type_handler_spec.rb +0 -311
  131. data/spec/unit/puppet-strings/yard/parsers/json/parser_spec.rb +0 -72
  132. data/spec/unit/puppet-strings/yard/parsers/json/task_statement_spec.rb +0 -56
  133. data/spec/unit/puppet-strings/yard/parsers/puppet/parser_spec.rb +0 -251
  134. data/spec/unit/puppet-strings/yard/util_spec.rb +0 -48
@@ -1,606 +0,0 @@
1
- # Reference
2
- <!-- DO NOT EDIT: This document was generated by Puppet Strings -->
3
-
4
- ## Table of Contents
5
-
6
- **Classes**
7
-
8
- _Public Classes_
9
-
10
- * [`klass`](#klass): A simple class.
11
-
12
- _Private Classes_
13
-
14
- * `noparams`: Overview for class noparams
15
-
16
- **Defined types**
17
-
18
- * [`klass::dt`](#klassdt): A simple defined type.
19
-
20
- **Resource types**
21
-
22
- * [`apt_key`](#apt_key): Example resource type using the new API.
23
- * [`database`](#database): An example database server type.
24
-
25
- **Functions**
26
-
27
- * [`func`](#func): A simple Puppet function.
28
- * [`func3x`](#func3x): Documentation for an example 3.x function.
29
- * [`func4x`](#func4x): An example 4.x function.
30
- * [`func4x_1`](#func4x_1): An example 4.x function with only one signature.
31
-
32
- **Data types**
33
-
34
- * [`Amodule::ComplexAlias`](#amodulecomplexalias): Documentation for Amodule::ComplexAlias
35
- * [`Amodule::SimpleAlias`](#amodulesimplealias): Documentation for Amodule::SimpleAlias
36
- * [`UnitDataType`](#unitdatatype): An example Puppet Data Type in Ruby.
37
-
38
- **Tasks**
39
-
40
- * [`(stdin)`](#(stdin)): Allows you to backup your database to local file.
41
-
42
- ## Classes
43
-
44
- ### klass
45
-
46
- An overview for a simple class.
47
-
48
- * **TODO** Do a thing
49
-
50
- * **Note** some note
51
-
52
- * **Since** 1.0.0
53
-
54
- * **See also**
55
- www.puppet.com
56
-
57
- #### Examples
58
-
59
- ##### This is an example
60
-
61
- ```puppet
62
- class { 'klass':
63
- param1 => 1,
64
- param3 => 'foo',
65
- }
66
- ```
67
-
68
- ##### This is another example
69
-
70
- ```puppet
71
- class { 'klass':
72
- param1 => 1,
73
- param3 => 'foo',
74
- }
75
- ```
76
-
77
- #### Parameters
78
-
79
- The following parameters are available in the `klass` class.
80
-
81
- ##### `param1`
82
-
83
- Data type: `Integer`
84
-
85
- First param.
86
-
87
- Default value: 1
88
-
89
- ##### `param2`
90
-
91
- Data type: `Any`
92
-
93
- Second param.
94
-
95
- Options:
96
-
97
- * **:opt1** `String`: something about opt1
98
- * **:opt2** `Hash`: a hash of stuff
99
-
100
- Default value: `undef`
101
-
102
- ##### `param3`
103
-
104
- Data type: `String`
105
-
106
- Third param.
107
-
108
- Default value: 'hi'
109
-
110
- ##### `param4`
111
-
112
- Data type: `Enum['one', 'two']`
113
-
114
- Fourth param.
115
-
116
- Options:
117
-
118
- * **:one**: One option
119
- * **:two**: Second option
120
-
121
- Default value: 'two'
122
-
123
- ## Defined types
124
-
125
- ### klass::dt
126
-
127
- An overview for a simple defined type.
128
-
129
- * **Since** 1.1.0
130
-
131
- * **See also**
132
- www.puppet.com
133
-
134
- #### Examples
135
-
136
- ##### Here's an example of this type:
137
-
138
- ```puppet
139
- klass::dt { 'foo':
140
- param1 => 33,
141
- param4 => false,
142
- }
143
- ```
144
-
145
- #### Parameters
146
-
147
- The following parameters are available in the `klass::dt` defined type.
148
-
149
- ##### `param1`
150
-
151
- Data type: `Integer`
152
-
153
- First param.
154
-
155
- Default value: 44
156
-
157
- ##### `param2`
158
-
159
- Data type: `Any`
160
-
161
- Second param.
162
-
163
- Options:
164
-
165
- * **:opt1** `String`: something about opt1
166
- * **:opt2** `Hash`: a hash of stuff
167
-
168
- ##### `param3`
169
-
170
- Data type: `String`
171
-
172
- Third param.
173
-
174
- Default value: 'hi'
175
-
176
- ##### `param4`
177
-
178
- Data type: `Boolean`
179
-
180
- Fourth param.
181
-
182
- Default value: `true`
183
-
184
- ##### `param5`
185
-
186
- Data type: `Enum['a', 'b']`
187
-
188
- Fifth param.
189
-
190
- Options:
191
-
192
- * **:a**: Option A
193
- * **:b**: Option B
194
-
195
- Default value: 'a'
196
-
197
- ## Resource types
198
-
199
- ### apt_key
200
-
201
- This type provides Puppet with the capabilities to manage GPG keys needed
202
- by apt to perform package validation. Apt has it's own GPG keyring that can
203
- be manipulated through the `apt-key` command.
204
- **Autorequires**:
205
- If Puppet is given the location of a key file which looks like an absolute
206
- path this type will autorequire that file.
207
-
208
- #### Examples
209
-
210
- ##### here's an example
211
-
212
- ```puppet
213
- apt_key { '6F6B15509CF8E59E6E469F327F438280EF8D349F':
214
- source => 'http://apt.puppetlabs.com/pubkey.gpg'
215
- }
216
- ```
217
-
218
- #### Properties
219
-
220
- The following properties are available in the `apt_key` type.
221
-
222
- ##### `ensure`
223
-
224
- Data type: `Enum[present, absent]`
225
-
226
- Whether this apt key should be present or absent on the target system.
227
-
228
- ##### `created`
229
-
230
- Data type: `String`
231
-
232
- Date the key was created, in ISO format.
233
-
234
- #### Parameters
235
-
236
- The following parameters are available in the `apt_key` type.
237
-
238
- ##### `id`
239
-
240
- namevar
241
-
242
- Data type: `Variant[Pattern[/A(0x)?[0-9a-fA-F]{8}Z/], Pattern[/A(0x)?[0-9a-fA-F]{16}Z/], Pattern[/A(0x)?[0-9a-fA-F]{40}Z/]]`
243
- _*this data type contains a regex that may not be accurately reflected in generated documentation_
244
-
245
- The ID of the key you want to manage.
246
-
247
- ### database
248
-
249
- An example database server type.
250
-
251
- #### Examples
252
-
253
- ##### here's an example
254
-
255
- ```puppet
256
- database { 'foo':
257
- address => 'qux.baz.bar',
258
- }
259
- ```
260
-
261
- #### Properties
262
-
263
- The following properties are available in the `database` type.
264
-
265
- ##### `ensure`
266
-
267
- Valid values: present, absent, up, down
268
-
269
- Aliases: "up"=>"present", "down"=>"absent"
270
-
271
- What state the database should be in.
272
-
273
- Options:
274
-
275
- * **:up**: Upstate
276
- * **:down**: Downstate
277
-
278
- Default value: up
279
-
280
- ##### `file`
281
-
282
- The database file to use.
283
-
284
- ##### `log_level`
285
-
286
- Valid values: debug, warn, error
287
-
288
- The log level to use.
289
-
290
- Default value: warn
291
-
292
- #### Parameters
293
-
294
- The following parameters are available in the `database` type.
295
-
296
- ##### `address`
297
-
298
- namevar
299
-
300
- The database server name.
301
-
302
- ##### `encryption_key`
303
-
304
- The encryption key to use.
305
-
306
- Required features: encryption.
307
-
308
- ##### `encrypt`
309
-
310
- Valid values: `true`, `false`, yes, no
311
-
312
- Whether or not to encrypt the database.
313
-
314
- Default value: `false`
315
-
316
- ## Functions
317
-
318
- ### func
319
-
320
- Type: Puppet Language
321
-
322
- A simple Puppet function.
323
-
324
- #### Examples
325
-
326
- ##### Test
327
-
328
- ```puppet
329
- $result = func(1, 2)
330
- ```
331
-
332
- #### `func(Integer $param1, Any $param2, String $param3 = hi, Enum['yes', 'no'] $param4 = 'yes')`
333
-
334
- A simple Puppet function.
335
-
336
- Returns: `Undef` Returns nothing.
337
-
338
- Raises:
339
- * `SomeError` this is some error
340
-
341
- ##### Examples
342
-
343
- ###### Test
344
-
345
- ```puppet
346
- $result = func(1, 2)
347
- ```
348
-
349
- ##### `param1`
350
-
351
- Data type: `Integer`
352
-
353
- First param.
354
-
355
- ##### `param2`
356
-
357
- Data type: `Any`
358
-
359
- Second param.
360
-
361
- ##### `param3`
362
-
363
- Data type: `String`
364
-
365
- Third param.
366
-
367
- Options:
368
-
369
- * **:param3opt** `Array`: Something about this option
370
-
371
- ##### `param4`
372
-
373
- Data type: `Enum['yes', 'no']`
374
-
375
- Fourth param.
376
-
377
- Options:
378
-
379
- * **:yes**: Yes option.
380
- * **:no**: No option.
381
-
382
- ### func3x
383
-
384
- Type: Ruby 3.x API
385
-
386
- Documentation for an example 3.x function.
387
-
388
- #### Examples
389
-
390
- ##### Calling the function.
391
-
392
- ```puppet
393
- func3x('hi', 10)
394
- ```
395
-
396
- #### `func3x(String $param1, Integer $param2)`
397
-
398
- Documentation for an example 3.x function.
399
-
400
- Returns: `Undef`
401
-
402
- ##### Examples
403
-
404
- ###### Calling the function.
405
-
406
- ```puppet
407
- func3x('hi', 10)
408
- ```
409
-
410
- ##### `param1`
411
-
412
- Data type: `String`
413
-
414
- The first parameter.
415
-
416
- ##### `param2`
417
-
418
- Data type: `Integer`
419
-
420
- The second parameter.
421
-
422
- ### func4x
423
-
424
- Type: Ruby 4.x API
425
-
426
- An example 4.x function.
427
-
428
- #### Examples
429
-
430
- ##### Calling the function
431
-
432
- ```puppet
433
- $result = func4x(1, 'foo')
434
- ```
435
-
436
- ##### Calling the function with all args
437
-
438
- ```puppet
439
- $result = func4x(1, 'foo', ['bar'])
440
- ```
441
-
442
- #### `func4x(Integer $param1, Any $param2, Optional[Array[String]] $param3, Optional[Enum[one, two]] $param4)`
443
-
444
- An overview for the first overload.
445
-
446
- Returns: `Undef` Returns nothing.
447
-
448
- ##### Examples
449
-
450
- ###### Calling the function foo
451
-
452
- ```puppet
453
- $result = func4x(1, 'foooo')
454
- ```
455
-
456
- ##### `param1`
457
-
458
- Data type: `Integer`
459
-
460
- The first parameter.
461
-
462
- ##### `param2`
463
-
464
- Data type: `Any`
465
-
466
- The second parameter.
467
-
468
- Options:
469
-
470
- * **:option** `String`: an option
471
- * **:option2** `String`: another option
472
-
473
- ##### `param3`
474
-
475
- Data type: `Optional[Array[String]]`
476
-
477
- The third parameter.
478
-
479
- ##### `param4`
480
-
481
- Data type: `Optional[Enum[one, two]]`
482
-
483
- The fourth parameter.
484
-
485
- Options:
486
-
487
- * **:one**: Option one.
488
- * **:two**: Option two.
489
-
490
- #### `func4x(Boolean $param, Callable &$block)`
491
-
492
- An overview for the second overload.
493
-
494
- Returns: `String` Returns a string.
495
-
496
- ##### Examples
497
-
498
- ###### Calling the function bar
499
-
500
- ```puppet
501
- $result = func4x(1, 'bar', ['foo'])
502
- ```
503
-
504
- ##### `param`
505
-
506
- Data type: `Boolean`
507
-
508
- The first parameter.
509
-
510
- ##### `&block`
511
-
512
- Data type: `Callable`
513
-
514
- The block parameter.
515
-
516
- ### func4x_1
517
-
518
- Type: Ruby 4.x API
519
-
520
- An example 4.x function with only one signature.
521
-
522
- #### `func4x_1(Integer $param1)`
523
-
524
- An example 4.x function with only one signature.
525
-
526
- Returns: `Undef` Returns nothing.
527
-
528
- ##### `param1`
529
-
530
- Data type: `Integer`
531
-
532
- The first parameter.
533
-
534
- ## Data types
535
-
536
- ### Amodule::ComplexAlias
537
-
538
- Documentation for Amodule::ComplexAlias
539
-
540
- Alias of `Struct[{
541
- value_type => Optional[ValueType],
542
- merge => Optional[MergeType]
543
- }]`
544
-
545
- ### Amodule::SimpleAlias
546
-
547
- Documentation for Amodule::SimpleAlias
548
-
549
- Alias of `Variant[Numeric, String[1,20]]`
550
-
551
- ### UnitDataType
552
-
553
- An example Puppet Data Type in Ruby.
554
-
555
- #### Parameters
556
-
557
- The following parameters are available in the `UnitDataType` data type.
558
-
559
- ##### `param1`
560
-
561
- Data type: `Variant[Numeric, String[1,2]]`
562
-
563
- A variant parameter.
564
-
565
- ##### `param2`
566
-
567
- Data type: `Optional[String[1]]`
568
-
569
- Optional String parameter.
570
-
571
- Default value: param2
572
-
573
- ## Tasks
574
-
575
- ### (stdin)
576
-
577
- Allows you to backup your database to local file.
578
-
579
- **Supports noop?** false
580
-
581
- #### Parameters
582
-
583
- ##### `database`
584
-
585
- Data type: `Optional[String[1]]`
586
-
587
- Database to connect to
588
-
589
- ##### `user`
590
-
591
- Data type: `Optional[String[1]]`
592
-
593
- The user
594
-
595
- ##### `password`
596
-
597
- Data type: `Optional[String[1]]`
598
-
599
- The password
600
-
601
- ##### `sql`
602
-
603
- Data type: `String[1]`
604
-
605
- Path to file you want backup to
606
-