From 5dbbc31960d00c7a1f39783d5ee58c00166e0df3 Mon Sep 17 00:00:00 2001 From: Gopal Nambiar Date: Tue, 9 Apr 2024 17:21:34 -0500 Subject: [PATCH] Added test api function --- lib/res_cli/cli.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/res_cli/cli.rb b/lib/res_cli/cli.rb index f264b95..7a2467b 100755 --- a/lib/res_cli/cli.rb +++ b/lib/res_cli/cli.rb @@ -82,6 +82,10 @@ def self.start delete_instance(instance_id) end + opts.on('-t', '--test-api', 'Test API') do + testAPI + end + opts.on('-h', '--help', 'Display this help message') do help exit