Documentation ¶
Overview ¶
Package converteradapters holds CLI adapters that connect the icarus CLI to the converters
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSVConverterAdapter ¶
type CSVConverterAdapter struct {
// contains filtered or unexported fields
}
func (*CSVConverterAdapter) Convert ¶
func (c *CSVConverterAdapter) Convert(input *os.File, output *ical.Calendar) error
func (*CSVConverterAdapter) Initialize ¶
type ConverterAdapter ¶
type ConverterAdapter interface { // Initialize creates a new subcommand for the argparse parser. Initialize(parser *argparse.Parser) (*argparse.Command, error) // Convert converts the incoming calendar and fills the output calendar Convert(input *os.File, output *ical.Calendar) error }
The ConverterAdapter connects the Icarus CLI with a processor
func GetConverterAdapters ¶
func GetConverterAdapters() []ConverterAdapter
GetConverterAdapters returns a list of enabled processor adapters
Click to show internal directories.
Click to hide internal directories.