diff options
Diffstat (limited to 'lib/saml/kit/cli/commands/metadata.rb')
| -rw-r--r-- | lib/saml/kit/cli/commands/metadata.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/saml/kit/cli/commands/metadata.rb b/lib/saml/kit/cli/commands/metadata.rb index 826e39d..6701d70 100644 --- a/lib/saml/kit/cli/commands/metadata.rb +++ b/lib/saml/kit/cli/commands/metadata.rb @@ -10,6 +10,9 @@ module Saml desc 'list', "List each of the registered entityId's" def list + if registry.count.zero? + say "Please register metadata using `saml-kit metadata register <url>`" + end registry.each do |x| say x.entity_id, :green end |
