diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-01-01 19:44:45 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-01-01 19:44:45 +0100 |
| commit | a25655c2b24535eb1c8bfce61159d9b37200074f (patch) | |
| tree | e6ca4271cc76968e2af976d80e108fd32cd45e80 /src/SlackBuilder/CommandLine.hs | |
| parent | 34d7dbd68fc4c61d4dbbd9c4427e5170ea569637 (diff) | |
| download | slackbuilder-a25655c2b24535eb1c8bfce61159d9b37200074f.tar.gz | |
Move latest version checker to a separate module
Diffstat (limited to 'src/SlackBuilder/CommandLine.hs')
| -rw-r--r-- | src/SlackBuilder/CommandLine.hs | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/src/SlackBuilder/CommandLine.hs b/src/SlackBuilder/CommandLine.hs index bbd7bad..7639327 100644 --- a/src/SlackBuilder/CommandLine.hs +++ b/src/SlackBuilder/CommandLine.hs @@ -2,11 +2,9 @@ v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. -} +-- | Command line parser. module SlackBuilder.CommandLine - ( GhArguments(..) - , SlackBuilderCommand(..) - , PackagistArguments(..) - , TextArguments(..) + ( SlackBuilderCommand(..) , slackBuilderParser ) where @@ -29,22 +27,6 @@ data SlackBuilderCommand | CheckCommand | Up2DateCommand (Maybe Text) -data PackagistArguments = PackagistArguments - { vendor :: Text - , name :: Text - } deriving (Eq, Show) - -data GhArguments = GhArguments - { owner :: Text - , name :: Text - , transform :: Maybe Text - } deriving (Eq, Show) - -data TextArguments = TextArguments - { versionPicker :: Text -> Text - , textURL :: Text - } - slackBuilderParser :: ParserInfo SlackBuilderCommand slackBuilderParser = info slackBuilderCommand fullDesc |
