Documentation
¶
Overview ¶
Package copilot provides the GitHub Copilot workflow adapter.
Index ¶
- type Adapter
- func (a *Adapter) EntryPointDir() string
- func (a *Adapter) EntryPointFile() string
- func (a *Adapter) Generate(workflow *core.Workflow, outputDir string) error
- func (a *Adapter) GenerateEntryPoint(workflow *core.Workflow) ([]byte, error)
- func (a *Adapter) Name() string
- func (a *Adapter) RuleDetailsDir() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct{}
Adapter converts between canonical Workflow and GitHub Copilot format.
func (*Adapter) EntryPointDir ¶
EntryPointDir returns the directory for the entry point.
func (*Adapter) EntryPointFile ¶
EntryPointFile returns the entry point filename for Copilot.
func (*Adapter) GenerateEntryPoint ¶
GenerateEntryPoint generates the copilot-instructions.md content.
func (*Adapter) RuleDetailsDir ¶
RuleDetailsDir returns the directory for rule details.
Click to show internal directories.
Click to hide internal directories.