Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data ProjectPath Source #
Instances
Show ProjectPath Source # | |
Defined in Hercules.CLI.Project showsPrec :: Int -> ProjectPath -> ShowS # show :: ProjectPath -> String # showList :: [ProjectPath] -> ShowS # |
projectPathText :: ProjectPath -> Text Source #
projectOption :: Parser ProjectPath Source #
nameOption :: Parser Text Source #
fileOption :: Parser FilePath Source #
projectPathReadM :: ReadM ProjectPath Source #
parseProjectPath :: Parser ProjectPath Source #
parseProjectPathFromText :: Text -> Either [Char] ProjectPath Source #
getProjectPath :: (Has HerculesClientToken r, Has HerculesClientEnv r) => Maybe ProjectPath -> RIO r ProjectPath Source #
getProjectIdAndPath :: (Has HerculesClientToken r, Has HerculesClientEnv r) => Maybe ProjectPath -> RIO r (Maybe (Id Project), ProjectPath) Source #
findProjectByKey :: (Has HerculesClientToken r, Has HerculesClientEnv r) => ProjectPath -> RIO r (Maybe Project) Source #
findProjectContextually :: (Has HerculesClientToken r, Has HerculesClientEnv r) => RIO r (Maybe (Id Project), ProjectPath) Source #
findProjectByCurrentRepo :: (Has HerculesClientToken r, Has HerculesClientEnv r) => RIO r (Maybe (Id Project), ProjectPath) Source #
findProject :: (Has HerculesClientToken r, Has HerculesClientEnv r) => ProjectPath -> RIO r Project Source #
projectResourceClientByPath :: ProjectPath -> ProjectResourceGroup ClientAuth (AsClientT ClientM) Source #