Documentation
¶
Overview ¶
Package topicop coordinates command-level topic selection over static or live current-state authority.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoadProject ¶
LoadProject opens the command-selected project inputs as immutable state.
type Outcome ¶ added in v0.46.0
type Outcome struct {
Document presentation.Document
Created []string
}
Outcome retains the semantic document and every authored path created by one topic scaffold.
func Create ¶
func Create(_ context.Context, domain, title string, tx *projectmutation.Transaction) (outcome Outcome, err error)
Create opens the selected project and performs one topic-scaffolding operation under the caller's tracked transaction.
type PartialScaffoldError ¶ added in v0.41.0
type PartialScaffoldError struct {
Created, Removed, Remaining []string
Cause error
Recovery []string
}
PartialScaffoldError retains rollback facts when a topic creation cannot remove every path it created. Cause identity remains available to callers.
func (*PartialScaffoldError) Document ¶ added in v0.41.0
func (e *PartialScaffoldError) Document() (presentation.Document, error)
func (*PartialScaffoldError) Error ¶ added in v0.41.0
func (e *PartialScaffoldError) Error() string
func (*PartialScaffoldError) JoinCause ¶ added in v0.46.0
func (e *PartialScaffoldError) JoinCause(err error)
func (*PartialScaffoldError) Unwrap ¶ added in v0.41.0
func (e *PartialScaffoldError) Unwrap() error
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.