lib/command/test.rb in cpl-1.0.2 vs lib/command/test.rb in cpl-1.0.3
- old
+ new
@@ -1,8 +1,7 @@
# frozen_string_literal: true
-# Be sure to have run: gem install debug
require "debug"
module Command
class Test < Base
NAME = "test"
@@ -12,15 +11,12 @@
- For debugging purposes
DESC
HIDE = true
def call
- # Change code here to test.
+ # Modify this method to trigger the code you want to test.
# You can use `debugger` to debug.
- # debugger
- # Or print values
- # rubocop:disable Lint/Debugger
- pp latest_image_next
- # rubocop:enable Lint/Debugger
+ # You can use `Cpl::Cli.start` to simulate a command
+ # (e.g., `Cpl::Cli.start(["deploy-image", "-a", "my-app-name"])`).
end
end
end