summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricebaker <icebaker@proton.me>2023-12-16 12:14:42 -0300
committericebaker <icebaker@proton.me>2023-12-16 12:14:42 -0300
commit45f6c989b1ead731570fd403bdbfb1c1b83b7a0c (patch)
tree934e61fd5b92c18d0b3fbb154a429ecca2824d07
parent7608addf50d2113b61f22d3f6162a72ca3314772 (diff)
adding specification command
-rw-r--r--controllers/interfaces/cli.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/controllers/interfaces/cli.rb b/controllers/interfaces/cli.rb
index 5b39c2a..c7623d9 100644
--- a/controllers/interfaces/cli.rb
+++ b/controllers/interfaces/cli.rb
@@ -12,6 +12,9 @@ module NanoBot
when 'version'
puts NanoBot::GEM[:version]
exit
+ when 'specification'
+ puts NanoBot::GEM[:specification]
+ exit
when 'security'
result = NanoBot.security.check
@@ -57,6 +60,7 @@ module NanoBot
puts ' nb cartridge.yml STATE-KEY state'
puts ''
puts ' nb security'
+ puts ' nb specification'
puts ' nb version'
puts ' nb help'
puts ''