cmd

package
v0.0.0-...-622207a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2025 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Overview

Package cmd provides command-line interface commands for the hapiq tool.

Package cmd provides command-line interface commands for the hapiq tool.

Package cmd provides command-line interface commands for the hapiq tool.

Package cmd provides command-line interface commands for the hapiq tool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type PDFConverter

type PDFConverter struct {
	// contains filtered or unexported fields
}

PDFConverter handles PDF to Markdown conversion.

func NewPDFConverter

func NewPDFConverter(preserveLayout, includePages, extractHeaders bool) *PDFConverter

NewPDFConverter creates a new PDF converter with specified options.

func (*PDFConverter) AddBasicSpacing

func (c *PDFConverter) AddBasicSpacing(text string) string

AddBasicSpacing is a public wrapper for addBasicSpacing for external testing.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL