Documentation
¶
Overview ¶
Package topicop coordinates command-level topic selection over static or live current-state authority.
Index ¶
- func Create(ctx context.Context, root, domain, title string, loader *project.Loader) (presentation.Document, error)
- func Run(ctx context.Context, root string, input Input, load LoadProject, gate Gate) (presentation.Detail, error)
- func Scaffold(root string, cfg *config.Config, domain, title string) (presentation.Document, error)
- type Gate
- type Input
- type LoadProject
- type UsageError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, root, domain, title string, loader *project.Loader) (presentation.Document, error)
Create opens the selected project and performs one topic-scaffolding operation.
Types ¶
type LoadProject ¶
type LoadProject func(context.Context, string) (*project.ProjectState, *config.Config, *awfgit.Repo, error)
LoadProject opens the command-selected project inputs as immutable state.
type UsageError ¶
type UsageError struct{ Message string }
UsageError identifies an operation-level syntax refusal for command exit mapping.
func (*UsageError) Error ¶
func (e *UsageError) Error() string
Error returns the syntax refusal message.
Click to show internal directories.
Click to hide internal directories.