@@ -30,7 +30,6 @@ import System.Posix.Process (executeFile)
31import Obelisk.App
31import Obelisk.App
32import Obelisk.CliApp
32import Obelisk.CliApp
33−import Obelisk.CliApp.Demo (cliDemo)
34import Obelisk.Command.Deploy
33import Obelisk.Command.Deploy
35import Obelisk.Command.Project
34import Obelisk.Command.Project
36import Obelisk.Command.Run
35import Obelisk.Command.Run
@@ -101,7 +100,6 @@ data ObCommand
102data ObInternal
101data ObInternal
103 = ObInternal_RunStaticIO StaticKey
102 = ObInternal_RunStaticIO StaticKey
104− | ObInternal_CLIDemo
105 -- the preprocessor argument syntax is also handled outside
103 -- the preprocessor argument syntax is also handled outside
106 -- optparse-applicative, but it shouldn't ever conflict with another syntax
104 -- optparse-applicative, but it shouldn't ever conflict with another syntax
107 | ObInternal_ApplyPackages String String String [String]
105 | ObInternal_ApplyPackages String String String [String]
@@ -196,7 +194,6 @@ data DeployInitOpts = DeployInitOpts
196internalCommand :: Parser ObInternal
194internalCommand :: Parser ObInternal
197internalCommand = subparser $ mconcat
195internalCommand = subparser $ mconcat
198 [ command "run-static-io" $ info (ObInternal_RunStaticIO <$> argument (eitherReader decodeStaticKey) (action "static-key")) mempty
196 [ command "run-static-io" $ info (ObInternal_RunStaticIO <$> argument (eitherReader decodeStaticKey) (action "static-key")) mempty
199− , command "clidemo" $ info (pure ObInternal_CLIDemo) mempty
202--TODO: Result should provide normalised path and also original user input for error reporting.
199--TODO: Result should provide normalised path and also original user input for error reporting.
@@ -400,7 +397,6 @@ ob = \case
400 Just p -> do
397 Just p -> do
401 c <- getObelisk
398 c <- getObelisk
402 liftIO $ runObelisk c $ deRefStaticPtr p
399 liftIO $ runObelisk c $ deRefStaticPtr p
403− ObInternal_CLIDemo -> cliDemo -- TODO: DELETE
404 ObInternal_ApplyPackages origPath inPath outPath packagePaths -> do
400 ObInternal_ApplyPackages origPath inPath outPath packagePaths -> do
405 liftIO $ Preprocessor.applyPackages origPath inPath outPath packagePaths
401 liftIO $ Preprocessor.applyPackages origPath inPath outPath packagePaths