module App.Commands where import App.Commands.Plan import App.Commands.SyncFromArchive import App.Commands.SyncToArchive import App.Commands.Version import Options.Applicative {- HLINT ignore "Monoid law, left identity" -} commands :: Parser (IO ()) commands = commandsGeneral commandsGeneral :: Parser (IO ()) commandsGeneral = subparser $ mempty <> commandGroup "Commands:" <> cmdPlan <> cmdSyncFromArchive <> cmdSyncToArchive <> cmdVersion