  ( OctrcArgs(..)
  , getOctrcArgs
  ) where

import           Data.List                      ( isSuffixOf )
import           Data.Maybe                     ( fromMaybe )
import           Data.Semigroup                 ( (<>) )
import           Data.Typeable                  ( Typeable )
import           Options.Applicative
import           System.Directory               ( createDirectoryIfMissing )

import           Octrc.Common