importer

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package importer parses CSV exports from Jira, Linear, and GitHub Issues and converts them into cloop pm.Task slices ready for appending to a plan.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Import

func Import(path string, format Format, startID int) ([]*pm.Task, error)

Import reads a CSV file at path, detects or uses the given format, and returns a slice of Tasks ready to be appended to an existing plan. startID is the ID to assign to the first imported task; subsequent tasks get startID+1, startID+2, etc.

Types

type Format

type Format string

Format identifies the source CSV schema.

const (
	FormatAuto   Format = "auto"
	FormatJira   Format = "jira"
	FormatLinear Format = "linear"
	FormatGitHub Format = "github"
)

Jump to

Keyboard shortcuts

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