iapi-idlc-sdk-pfm 1.0.5 → 1.0.6

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/iapi-idlc-sdk-pfm/cli.rb +4 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfe34d877868d5f63a8094b4a9155cde11b0e60ccbe27257f44b457f6e431230
4
- data.tar.gz: bc061922d049fae713e7876446befa111fce950b36391f21bbf8e58d473af3a9
3
+ metadata.gz: d25e61b039da2d066d097bdb64ecced73dd64357427746a09b4843241f3e0348
4
+ data.tar.gz: be95f3f58073e4f5c98b0cabe14eeffc6f03e6de279bb6e5d500878b0e9f5a2e
5
5
  SHA512:
6
- metadata.gz: a88b8de151392c3a5c0a119f21916048db7c275a0de6e60783ae965ec8a1460bd097c6120142f0d4592a0306b25b59c5f6877be42dc56408869048d7a4c0d47f
7
- data.tar.gz: 56d9f2b73e3ae7389d179b382c49919033549e682cb9b87a1709528317243cee4e0f8e6b33aa665414605eb83093d482c94e77f7922b28f8c2f22663f32176cb
6
+ metadata.gz: 6be0003d6625c6266f3a84cd91f0bec53e08976dcc8ff1c9113ecd382aec320b8f664b8e43bac3b0979817475ab5d660c01b703d94e4393854283502093dc29c
7
+ data.tar.gz: e81db9d281e602d4a9a98d18df9f396af64f940d7587a79dac0414d580988fbd152a567824f46be48918696adc189e32159469f9ae94bc8624276e95d0717958
@@ -1,3 +1,5 @@
1
+ require 'tracer'
2
+
1
3
  module Pfm
2
4
  class CLI
3
5
  include Mixlib::CLI
@@ -48,8 +50,10 @@ BANNER
48
50
  if subcommand_name.nil? || option?(subcommand_name)
49
51
  handle_options
50
52
  elsif have_command?(subcommand_name)
53
+ Tracer.on if verbose?
51
54
  subcommand = instantiate_subcommand(subcommand_name)
52
55
  exit_code = subcommand.run_with_default_options(subcommand_params)
56
+ Tracer.off if verbose?
53
57
  exit normalized_exit_code(exit_code)
54
58
  else
55
59
  err "Unknown command `#{subcommand_name}'."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iapi-idlc-sdk-pfm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Cazell
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-11-20 00:00:00.000000000 Z
12
+ date: 2023-11-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler