diff options
| author | Eugen Wissner <belka@caraus.de> | 2023-12-09 21:33:34 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2023-12-09 21:44:48 +0100 |
| commit | e9504fb8e56fe93e4e23c52b45a620432b11570b (patch) | |
| tree | 3cba7f4d1a0b2340d76c1e969f1dda3d14c30c63 /src/SlackBuilder | |
| parent | ef0a5b59581297b830e182533f6ea5ef45ca7612 (diff) | |
| download | slackbuilder-e9504fb8e56fe93e4e23c52b45a620432b11570b.tar.gz | |
Replace clone command with the check command
Diffstat (limited to 'src/SlackBuilder')
| -rw-r--r-- | src/SlackBuilder/CommandLine.hs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/SlackBuilder/CommandLine.hs b/src/SlackBuilder/CommandLine.hs index 7cfe747..7da036a 100644 --- a/src/SlackBuilder/CommandLine.hs +++ b/src/SlackBuilder/CommandLine.hs @@ -21,7 +21,7 @@ import Options.Applicative data SlackBuilderCommand = CategoryCommand Text - | CloneCommand Text Text Text + | CheckCommand | Up2DateCommand data PackagistArguments = PackagistArguments @@ -46,13 +46,10 @@ slackBuilderParser = info slackBuilderCommand fullDesc slackBuilderCommand :: Parser SlackBuilderCommand slackBuilderCommand = subparser $ command "category" (info categoryCommand mempty) - <> command "clone" (info cloneCommand mempty) + <> command "check" (info checkCommand mempty) <> command "up2date" (info up2DateCommand mempty) where categoryCommand = CategoryCommand <$> argument str (metavar "PKGNAM") - cloneCommand = CloneCommand - <$> argument str (metavar "REPO") - <*> argument str (metavar "TARBALL") - <*> argument str (metavar "TAG_PREFIX") + checkCommand = pure CheckCommand up2DateCommand = pure Up2DateCommand |
