packages feed

cabal-cache-0.2.0.2: src/App/Commands.hs

module App.Commands where

import App.Commands.SyncFromArchive
import App.Commands.SyncToArchive
import App.Commands.Version
import Data.Semigroup               ((<>))
import Options.Applicative

commands :: Parser (IO ())
commands = commandsGeneral

commandsGeneral :: Parser (IO ())
commandsGeneral = subparser $ mempty
  <>  commandGroup "Commands:"
  <>  cmdSyncFromArchive
  <>  cmdSyncToArchive
  <>  cmdVersion