From 731a36d7007d3d27712a9bfde2314845020de483 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 14 Mar 2025 00:35:53 +0100 Subject: Remove the installed command Since it is out of scope for this project. --- src/SlackBuilder/CommandLine.hs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/SlackBuilder/CommandLine.hs') diff --git a/src/SlackBuilder/CommandLine.hs b/src/SlackBuilder/CommandLine.hs index ee81289..b098b3f 100644 --- a/src/SlackBuilder/CommandLine.hs +++ b/src/SlackBuilder/CommandLine.hs @@ -26,7 +26,6 @@ import Options.Applicative data SlackBuilderCommand = CheckCommand | Up2DateCommand (Maybe Text) - | InstalledCommand slackBuilderParser :: ParserInfo SlackBuilderCommand slackBuilderParser = info (helper <*> slackBuilderCommand) fullDesc @@ -35,7 +34,6 @@ slackBuilderCommand :: Parser SlackBuilderCommand slackBuilderCommand = subparser $ command "check" checkCommand <> command "up2date" up2DateCommand - <> command "installed" installedCommand where checkCommand = info checkP $ progDesc "Check all configured slackbuilds for updates" checkP = pure CheckCommand @@ -43,6 +41,3 @@ slackBuilderCommand = subparser <$> optional (argument str (metavar "PKGNAM")) up2DateCommand = info up2DateP $ progDesc "Update a single or multiple slackbuild in the configured repository" - installedCommand = info installedP - $ progDesc "Find local packages that can be updated using the configured repository" - installedP = pure InstalledCommand -- cgit v1.2.3