Module: HexaPDF::CLI::Command::Extensions

Included in:
HexaPDF::CLI::Command
Defined in:
lib/hexapdf/cli/command.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#helpObject

:nodoc:



60
61
62
63
# File 'lib/hexapdf/cli/command.rb', line 60

def help #:nodoc:
  super << format("See https://hexapdf.gettalong.org/documentation/hexapdf.1.html " \
                  "for the full manual page with examples.", indent: 0)
end

#help_bannerObject

:nodoc:



54
55
56
57
58
# File 'lib/hexapdf/cli/command.rb', line 54

def help_banner #:nodoc:
  "hexapdf #{HexaPDF::VERSION} - Versatile PDF Manipulation Tool\n" \
    "Copyright (c) 2014-2024 Thomas Leitner; licensed under the AGPLv3\n\n" \
    "#{format(usage, indent: 7)}\n\n"
end