summaryrefslogtreecommitdiff
path: root/app/SlackBuilder/CommandLine.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/SlackBuilder/CommandLine.hs')
-rw-r--r--app/SlackBuilder/CommandLine.hs12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/SlackBuilder/CommandLine.hs b/app/SlackBuilder/CommandLine.hs
index 1b51b89..9b26671 100644
--- a/app/SlackBuilder/CommandLine.hs
+++ b/app/SlackBuilder/CommandLine.hs
@@ -21,9 +21,7 @@ import Options.Applicative
data SlackBuilderCommand
= CategoryCommand Text
- | CommitCommand Text Text
| ExistsCommand Text
- | ArchiveCommand Text Text String Text
| DownloadCommand Text String
| CloneCommand Text Text Text
| DownloadAndDeployCommand Text Text
@@ -51,9 +49,7 @@ slackBuilderParser = info slackBuilderCommand fullDesc
slackBuilderCommand :: Parser SlackBuilderCommand
slackBuilderCommand = subparser
$ command "category" (info categoryCommand mempty)
- <> command "commit" (info commitCommand mempty)
<> command "exists" (info existsCommand mempty)
- <> command "archive" (info archiveCommand mempty)
<> command "download" (info downloadCommand mempty)
<> command "clone" (info cloneCommand mempty)
<> command "deploy" (info deployCommand mempty)
@@ -61,15 +57,7 @@ slackBuilderCommand = subparser
where
categoryCommand = CategoryCommand
<$> argument str (metavar "PKGNAM")
- commitCommand = CommitCommand
- <$> argument str (metavar "PATH")
- <*> argument str (metavar "VERSION")
existsCommand = ExistsCommand <$> argument str (metavar "PATH")
- archiveCommand = ArchiveCommand
- <$> argument str (metavar "REPO")
- <*> argument str (metavar "NAME_VERSION")
- <*> argument str (metavar "TARBALL")
- <*> argument str (metavar "TAG_PREFIX")
downloadCommand = DownloadCommand
<$> argument str (metavar "URI")
<*> argument str (metavar "TARGET")