Documentation
¶
Overview ¶
Package config provides configuration file support for pdf-cli.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompressConfig ¶
type CompressConfig struct {
Quality string `yaml:"quality"` // low, medium, high
}
CompressConfig holds compression settings.
type Config ¶
type Config struct {
Defaults DefaultsConfig `yaml:"defaults"`
Compress CompressConfig `yaml:"compress"`
Encrypt EncryptConfig `yaml:"encrypt"`
OCR OCRConfig `yaml:"ocr"`
}
Config holds the application configuration.
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns a Config with default values.
type DefaultsConfig ¶
type DefaultsConfig struct {
OutputFormat string `yaml:"output_format"` // json, csv, tsv, human
Verbose bool `yaml:"verbose"`
ShowProgress bool `yaml:"show_progress"`
}
DefaultsConfig holds default settings.
type EncryptConfig ¶
type EncryptConfig struct {
Algorithm string `yaml:"algorithm"` // aes128, aes256
}
EncryptConfig holds encryption settings.
Click to show internal directories.
Click to hide internal directories.