From 45f6c989b1ead731570fd403bdbfb1c1b83b7a0c Mon Sep 17 00:00:00 2001 From: icebaker Date: Sat, 16 Dec 2023 12:14:42 -0300 Subject: adding specification command --- controllers/interfaces/cli.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'controllers/interfaces') 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 '' -- cgit v1.2.3