Module: Pwss::CommandSyntax
- Defined in:
- lib/pwss/cli/command_syntax.rb
Constant Summary collapse
- DEFAULT_WAIT =
the default number of seconds password is available in the clipboard
45
- DEFAULT_LENGTH =
the default password length
Pwss::Password::DEFAULT_PASSWORD_LENGTH
Class Method Summary collapse
-
.commands ⇒ Object
return a hash with all the commands and their options.
Class Method Details
.commands ⇒ Object
return a hash with all the commands and their options
6 7 8 9 10 11 12 13 14 |
# File 'lib/pwss/cli/command_syntax.rb', line 6 def self.commands h = Hash.new self.methods.each do |method| if method.to_s.include?("_opts") then h = h.merge(eval(method.to_s)) end end return h end |