cmdlet 0.12.3 → 0.12.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5b7731fda1f675a53e1b86458149d614132e85034ec1cd30509ce01aefe14b7
4
- data.tar.gz: ffebe0a907f59f24b609bf77386d6a912599cc5e3083f963b96599caf8902eae
3
+ metadata.gz: 0d22e403077818fd2b6aed9df61a360e26dc40b513eb8de45804c9ab9f7a0f72
4
+ data.tar.gz: 00d2c70ace58cacd741ab797e3e3817ebc7d3ea30f54eab77adcd488031da353
5
5
  SHA512:
6
- metadata.gz: 4e540d6cb05f4570df80161cfc9d4ece91e0534fc124a48ad8ae37e28766698da33bbd204d4cadcac78e84dc58b105a42b0e0442203947a1b3d01e5e0dc8af92
7
- data.tar.gz: f1a2d7b6d861c4a75790c61019cc6e0e6c4cab5d1536de1ce538ad2100dc694bde5210ade68195447d49c500680bac83490d7429c5d2f20b78b17b839cb995c9
6
+ metadata.gz: 8478e2994711430d95ebd9185aa751684870a43f8796d75a4577f8ec89609aa7ba7bbb59f687a12a15ab080fca4170fce32035922177474d6a95fd4c50123cf9
7
+ data.tar.gz: 838436d40bdd4f9a9903b38e8fe6d02b0c7215f90cf7e8c4aa5032835cf7c81839d9d18a1c02810f8a7478dba47989beb796895b733829badf276171a2ffb32b
@@ -33,7 +33,7 @@
33
33
  "comment_out"
34
34
  ],
35
35
  "description": "this content will not get written out, useful for commenting out code",
36
- "result": "empty stting",
36
+ "result": "empty string",
37
37
  "category": "misc",
38
38
  "category_description": "Miscellaneous cmdlets",
39
39
  "base_class_require": null,
@@ -52,6 +52,31 @@
52
52
  ],
53
53
  "ruby": " ''\n"
54
54
  },
55
+ {
56
+ "name": "makebold",
57
+ "aliases": [
58
+
59
+ ],
60
+ "description": "Sample to bold some text",
61
+ "result": "Testing an ID",
62
+ "category": "misc",
63
+ "category_description": "Miscellaneous cmdlets",
64
+ "base_class_require": null,
65
+ "base_class": null,
66
+ "parameters": [
67
+ {
68
+ "name": "value",
69
+ "description": "block",
70
+ "splat": null,
71
+ "default": null,
72
+ "param_type": "Handlebars Block"
73
+ }
74
+ ],
75
+ "examples": [
76
+
77
+ ],
78
+ "ruby": " \"<b>Testing an ID</b>\"\n"
79
+ },
55
80
  {
56
81
  "name": "format_json",
57
82
  "aliases": [
@@ -20,7 +20,7 @@ KManager.action :misc_commands do
20
20
  name :omit
21
21
  aliases %i[ignore comment_out]
22
22
  description 'this content will not get written out, useful for commenting out code'
23
- result 'empty stting'
23
+ result 'empty string'
24
24
 
25
25
  parameter :value, 'value to omit', param_type: 'String|Int'
26
26
 
@@ -28,6 +28,17 @@ KManager.action :misc_commands do
28
28
  ''
29
29
  RUBY
30
30
  end
31
+ .cmdlet do
32
+ name :makebold
33
+ description 'Sample to bold some text'
34
+ result 'Testing an ID'
35
+
36
+ parameter :value, 'block', param_type: 'Handlebars Block'
37
+
38
+ ruby <<-RUBY
39
+ "<b>Testing an ID</b>"
40
+ RUBY
41
+ end
31
42
  .cmdlet do
32
43
  name :format_json
33
44
  description 'FormatJson will take an object and write it out as pretty JSON'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [0.12.4](https://github.com/klueless-io/cmdlet/compare/v0.12.3...v0.12.4) (2023-07-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add sample command ([fa1fa5f](https://github.com/klueless-io/cmdlet/commit/fa1fa5f1930bb6e217c10a8ecddbf9ce690915cc))
7
+ * add sample command ([7d27579](https://github.com/klueless-io/cmdlet/commit/7d27579dd02027db8b3bb2d56a548e843f69d962))
8
+
9
+ ## [0.12.3](https://github.com/klueless-io/cmdlet/compare/v0.12.2...v0.12.3) (2023-07-19)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * add omit ([e0a2da7](https://github.com/klueless-io/cmdlet/commit/e0a2da7608faadf97ded72e24defdf3b6783aa9f))
15
+
1
16
  ## [0.12.2](https://github.com/klueless-io/cmdlet/compare/v0.12.1...v0.12.2) (2023-07-19)
2
17
 
3
18
 
@@ -7,7 +7,7 @@ module Cmdlet
7
7
  class Omit < Cmdlet::BaseCmdlet
8
8
  #
9
9
  # @param [String|Int] value - value to omit
10
- # @return [String] empty stting
10
+ # @return [String] empty string
11
11
  def call(_value)
12
12
  ''
13
13
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cmdlet
4
- VERSION = '0.12.3'
4
+ VERSION = '0.12.5'
5
5
  end
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "cmdlet",
3
- "version": "0.12.3",
3
+ "version": "0.12.5",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "cmdlet",
9
- "version": "0.12.3",
9
+ "version": "0.12.5",
10
10
  "devDependencies": {
11
11
  "@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
12
12
  "@semantic-release/changelog": "^6.0.1",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmdlet",
3
- "version": "0.12.3",
3
+ "version": "0.12.5",
4
4
  "description": "Cmdlet provides a set of functions (wrapped in the command pattern) that perform simple actions",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmdlet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.3
4
+ version: 0.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys