From 77c9a2ab54b697f37e21b76c1fd82fc42dc4792e Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 3 Sep 2023 10:26:43 +0200 Subject: Add a test module --- app/SlackBuilder/CommandLine.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/SlackBuilder/CommandLine.hs') diff --git a/app/SlackBuilder/CommandLine.hs b/app/SlackBuilder/CommandLine.hs index 23bf840..48881e2 100644 --- a/app/SlackBuilder/CommandLine.hs +++ b/app/SlackBuilder/CommandLine.hs @@ -30,6 +30,7 @@ data SlackBuilderCommand | DownloadCommand Text String | CloneCommand Text Text Text | DownloadAndDeployCommand Text Text + | Up2DateCommand deriving (Eq, Show) data PackagistArguments = PackagistArguments @@ -75,6 +76,7 @@ slackBuilderCommand = subparser <> command "download" (info downloadCommand mempty) <> command "clone" (info cloneCommand mempty) <> command "deploy" (info deployCommand mempty) + <> command "up2date" (info up2DateCommand mempty) where slackBuildCommand = SlackBuildCommand <$> argument str (metavar "PATH") @@ -98,3 +100,4 @@ slackBuilderCommand = subparser deployCommand = DownloadAndDeployCommand <$> argument str (metavar "URI") <*> argument str (metavar "TARBALL") + up2DateCommand = pure Up2DateCommand -- cgit v1.2.3