charon-0.1: Template
Safe HaskellSafe-Inferred
LanguageGHC2021

Charon.Runner.Command.List

Description

Provides functionality for the list command

Synopsis

Phase 1

data ListFormatStyle Source #

Configuration option for the list command format.

data ListFormatPhase1 Source #

Holds all configuration data for list formatting i.e. style and truncation params.

Constructors

MkListFormatPhase1 

Fields

Instances

Instances details
Show ListFormatPhase1 Source # 
Instance details

Defined in Charon.Runner.Command.List

AdvancePhase ListFormatPhase1 Source # 
Instance details

Defined in Charon.Runner.Command.List

Associated Types

type NextPhase ListFormatPhase1 Source #

Eq ListFormatPhase1 Source # 
Instance details

Defined in Charon.Runner.Command.List

(k ~ A_Lens, a ~ Maybe Coloring, b ~ Maybe Coloring) => LabelOptic "coloring" k ListFormatPhase1 ListFormatPhase1 a b Source # 
Instance details

Defined in Charon.Runner.Command.List

(k ~ A_Lens, a ~ Maybe ColFormat, b ~ Maybe ColFormat) => LabelOptic "nameTrunc" k ListFormatPhase1 ListFormatPhase1 a b Source # 
Instance details

Defined in Charon.Runner.Command.List

(k ~ A_Lens, a ~ Maybe ColFormat, b ~ Maybe ColFormat) => LabelOptic "origTrunc" k ListFormatPhase1 ListFormatPhase1 a b Source # 
Instance details

Defined in Charon.Runner.Command.List

(k ~ A_Lens, a ~ Maybe ListFormatStyle, b ~ Maybe ListFormatStyle) => LabelOptic "style" k ListFormatPhase1 ListFormatPhase1 a b Source # 
Instance details

Defined in Charon.Runner.Command.List

type NextPhase ListFormatPhase1 Source # 
Instance details

Defined in Charon.Runner.Command.List

Phase 2

data ListCmd p Source #

Arguments for the list command.

Constructors

MkListCmd 

Fields

Instances

Instances details
(k ~ A_Lens, a ~ ListFormatPhaseF p, b ~ ListFormatPhaseF p) => LabelOptic "format" k (ListCmd p) (ListCmd p) a b Source # 
Instance details

Defined in Charon.Runner.Command.List

Methods

labelOptic :: Optic k NoIx (ListCmd p) (ListCmd p) a b Source #

(k ~ A_Lens, a ~ MaybePhaseF p Bool, b ~ MaybePhaseF p Bool) => LabelOptic "revSort" k (ListCmd p) (ListCmd p) a b Source # 
Instance details

Defined in Charon.Runner.Command.List

Methods

labelOptic :: Optic k NoIx (ListCmd p) (ListCmd p) a b Source #

(k ~ A_Lens, a ~ MaybePhaseF p Sort, b ~ MaybePhaseF p Sort) => LabelOptic "sort" k (ListCmd p) (ListCmd p) a b Source # 
Instance details

Defined in Charon.Runner.Command.List

Methods

labelOptic :: Optic k NoIx (ListCmd p) (ListCmd p) a b Source #

Show (ListCmd 'Phase1) Source # 
Instance details

Defined in Charon.Runner.Command.List

Show (ListCmd 'Phase2) Source # 
Instance details

Defined in Charon.Runner.Command.List

AdvancePhase (ListCmd 'Phase1) Source # 
Instance details

Defined in Charon.Runner.Command.List

Associated Types

type NextPhase (ListCmd 'Phase1) Source #

Eq (ListCmd 'Phase1) Source # 
Instance details

Defined in Charon.Runner.Command.List

Eq (ListCmd 'Phase2) Source # 
Instance details

Defined in Charon.Runner.Command.List

type NextPhase (ListCmd 'Phase1) Source # 
Instance details

Defined in Charon.Runner.Command.List