def usage
      parameters = @link_schema.parameters.map { |parameter| "<#{parameter}>" }
      parameters = parameters.empty? ? '' : " #{parameters.join(' ')}"
      example_body = @link_schema.example_body
      body_parameter = example_body.nil? ? '' : ' <body>'
      @output.write <<-USAGE
Usage: #{@cli_name} #{name}#{parameters}#{body_parameter}

Description:
  #{description}
USAGE
      if example_body
        example_body = MultiJson.dump(example_body, pretty: true)
        example_body = example_body.lines.map do |line|
          "  #{line}"
        end.join
        @output.write <<-USAGE

Body example:
#{example_body}
USAGE
      end
    end
def usage
      parameters = @link_schema.parameters.map { |parameter| "<#{parameter}>" }
      parameters = parameters.empty? ? '' : " #{parameters.join(' ')}"
      example_body = @link_schema.example_body
      body_parameter = example_body.nil? ? '' : ' <body>'
      @output.write <<-USAGE
Usage: #{@cli_name} #{name}#{parameters}#{body_parameter}

Description:
  #{description}
USAGE
      if example_body
        example_body = MultiJson.dump(example_body, pretty: true)
        example_body = example_body.lines.map do |line|
          "  #{line}"
        end.join
        @output.write <<-USAGE

Body example:
#{example_body}
USAGE
      end
    end
Write usage information to the output stream.