Function: createListDrafts()
Constructs a ListDrafts instance wired with filesystem adapters.
Param
A fully-resolved SpecdConfig or an explicit context object
Param
Filesystem path options; required when configOrContext is a context object
Call Signature
createListDrafts(
config):ListDrafts
Defined in: packages/core/src/composition/use-cases/list-drafts.ts:26
Constructs a ListDrafts use case with full project config.
Parameters
config
The fully-resolved project configuration
Returns
The pre-wired use case instance
Call Signature
createListDrafts(
context,options):ListDrafts
Defined in: packages/core/src/composition/use-cases/list-drafts.ts:34
Constructs a ListDrafts use case with explicit context and options.
Parameters
context
Domain context for the primary workspace
options
Filesystem paths for draft resolution
Returns
The pre-wired use case instance