Fluxion::TUI::Selection
Which parts of a profile the user chose to run.
Selection is by job and by step rather than by item: choosing individual packages out of a list is a level of control nobody has asked for, and it would make the resulting run impossible to describe afterwards.
Constructors
new(profile : Profile)
SourceInstance methods
any_selected?
Sourceapply
The profile as chosen. Dependencies are narrowed to jobs that survived, so a kept job does not wait forever on one the user removed.
profile
Sourceselect_all
Sourceselect_none
Sourceselected_items
Sourceselected_steps
Sourcetoggle_job(job : Job) : Nil
Toggling a job takes its steps with it: a job with nothing selected is indistinguishable from a deselected job, so they are kept in step.
toggle_step(job : Job, step : Step) : Nil
Source