class HexaPDF::CLI::Application
The CmdParse::CommandParser class that is used for running the CLI
application.
Constants
- VERBOSITY_INFO
Verbosity level for informational output
- VERBOSITY_QUIET
Verbosity level for no output
- VERBOSITY_WARNING
Verbosity level for warning output
Attributes
force[R]
Specifies whether an operation should be forced. For example, if an existing file should be overwritten.
strict[R]
Specifies whether strict parsing and validation should be used.
Public Instance Methods
verbosity_info?()
click to toggle source
Returns true
if the verbosity level info is enabled.
# File lib/hexapdf/cli.rb, line 131 def verbosity_info? @verbosity >= VERBOSITY_INFO end
verbosity_warning?()
click to toggle source
Returns true
if the verbosity level warning is enabled.
# File lib/hexapdf/cli.rb, line 126 def verbosity_warning? @verbosity >= VERBOSITY_WARNING end