Skip to main content

workflow_only

Function workflow_only 

Source
pub fn workflow_only(inputs: Inputs<'_>) -> Result<Inputs<'_>, RkError>
Expand description

Expand --workflow-only over the answers an invocation states.

The preset sets four answers: no release, local integration, linked worktrees, and the workflow guards. It records nothing of its own, so the expansion is the four answers and nothing else. A flag that states one of them the same way agrees with it; a flag that states another answer, or an answer only a release takes, refuses before any write, naming the flag and the preset. A flag the preset does not set, such as --merge-form, passes through.

ยงErrors

A crate::diagnostic::Reason::PresetContradiction refusal naming every contradicting flag.

SATISFIES project-profile:the-workflow-only-preset-expands-to-recorded-answers