<commit_before>{-# LANGUAGE GADTs             #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards   #-}

-- Module      : Khan.Internal.Options
-- Copyright   : (c) 2013 <NAME> <<EMAIL>>
-- License     : This Source Code Form is subject to the terms of
--               the Mozilla Public License, v. 2.0.
--               A copy of the MPL can be found in the LICENSE file or
--               you can obtain it at http://mozilla.org/MPL/2.0/.
-- Maintainer  : <NAME> <<EMAIL>>
-- Stability   : experimental
-- Portability : non-portable (GHC extensions)

module Khan.Internal.Options
    (
    -- * GADT/Class
      Options (..)
    , Command (..)

    -- * Common
    , Common  (..)
    , commonParser

    -- * Top-level
    , group
    , command

    -- * Overrides
    , readOption
    , switchOption
    , textOption
    , pathOption
    , stringOption
    , integralOption
    , customOption
    , argsOption

    -- * Common
    , roleOption
    , envOption
    , versionOption
    , keyOption
    , trustOption
    , policyOption
    , ansibleOption
    , userOption

    -- * Validation
    , check
    , checkIO
    , checkPath

    -- * From Environment
    , etext
    , epath
    , evalue

    , module Export
    ) where

import qualified Data.Attoparsec.Text      as AText
import qualified Data.HashMap.Strict       as Map
import           Data.SemVer
import           Data.String
import qualified Data.Text                 as Text
import qualified Filesystem.Path.CurrentOS as Path
import           Khan.Internal.IO<commit_msg>Un-exporting environment specifics<commit_after>{-# LANGUAGE GADTs             #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards   #-}

-- Module      : Khan.Internal.Options
-- Copyright   : (c) 2013 <NAME> <<EMAIL>>
-- License     : This Source Code Form is subject to the terms of
--               the Mozilla Public License, v. 2.0.
--               A copy of the MPL can be found in the LICENSE file or
--               you can obtain it at http://mozilla.org/MPL/2.0/.
-- Maintainer  : <NAME> <<EMAIL>>
-- Stability   : experimental
-- Portability : non-portable (GHC extensions)

module Khan.Internal.Options
    (
    -- * GADT/Class
      Options (..)
    , Command (..)

    -- * Common
    , Common  (..)
    , commonParser

    -- * Top-level
    , group
    , command

    -- * Overrides
    , readOption
    , switchOption
    , textOption
    , pathOption
    , stringOption
    , integralOption
    , customOption
    , argsOption

    -- * Common
    , roleOption
    , envOption
    , versionOption
    , keyOption
    , trustOption
    , policyOption
    , ansibleOption
    , userOption

    -- * Validation
    , check
    , checkIO
    , checkPath

    , module Export
    ) where

import qualified Data.Attoparsec.Text      as AText
import qualified Data.HashMap.Strict       as Map
import           Data.SemVer
import           Data.String
import qualified Data.Text                 as Text
import qualified Filesystem.Path.CurrentOS as Path
import           Khan.Internal.IO
{'fraction_non_alphanumeric': 0.10073085478233237, 'fraction_numerical': 0.005084207181442644, 'mean_word_length': 1.8592188919164396, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '898433', 'n_tokens_mistral': 963, 'n_tokens_neox': 930, 'n_words': 252}