-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Upload files to GitHub releases. -- -- GitHub Release uploads files to GitHub releases. @package github-release @version 1.2.2 module GitHubRelease data Command Upload :: FilePath "The path to the local file to upload." -> String "The name to give the file on the release." -> Maybe String "The GitHub owner, either a user or organization." -> String "The GitHub repository name." -> String "The tag name." -> String "Your OAuth2 token." -> Command [file] :: Command -> FilePath "The path to the local file to upload." [name] :: Command -> String "The name to give the file on the release." [owner] :: Command -> Maybe String "The GitHub owner, either a user or organization." [repo] :: Command -> String "The GitHub repository name." [tag] :: Command -> String "The tag name." [token] :: Command -> String "Your OAuth2 token." Release :: String "The name of the release" -> Maybe String "The GitHub owner, either a user or organization." -> String "The GitHub repository name." -> String "The tag name." -> Maybe String "Release description." -> String "Your OAuth2 token." -> Maybe Bool "Indicates if this is a pre-release." -> Maybe Bool "Indicates if this is a draft." -> Command [title] :: Command -> String "The name of the release" [owner] :: Command -> Maybe String "The GitHub owner, either a user or organization." [repo] :: Command -> String "The GitHub repository name." [tag] :: Command -> String "The tag name." [description] :: Command -> Maybe String "Release description." [token] :: Command -> String "Your OAuth2 token." [preRelease] :: Command -> Maybe Bool "Indicates if this is a pre-release." [draft] :: Command -> Maybe Bool "Indicates if this is a draft." Version :: Command main :: IO () runCommand :: Command -> IO () upload :: String -> Maybe String -> String -> String -> FilePath -> String -> IO () getUploadUrl :: Manager -> String -> Maybe String -> String -> String -> IO UriTemplate getTag :: Manager -> String -> Maybe String -> String -> String -> IO (Either String Object) authorizationHeader :: String -> Header userAgentHeader :: Header userAgent :: String versionString :: String uploadFile :: Manager -> UriTemplate -> String -> FilePath -> String -> IO (Response ByteString) uploadBody :: Manager -> UriTemplate -> String -> RequestBody -> String -> IO (Response ByteString) instance GHC.Show.Show GitHubRelease.Command instance GHC.Generics.Generic GitHubRelease.Command instance Options.Generic.ParseRecord GitHubRelease.Command