-- 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.3.4 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.") -> (Maybe 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 -> Maybe 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.") -> (Maybe 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 -> Maybe 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." Delete :: (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.") -> (Maybe String "Your OAuth2 token.") -> Command [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 -> Maybe String "Your OAuth2 token." Version :: Command main :: IO () runCommand :: Command -> IO () upload :: String -> Maybe String -> String -> String -> FilePath -> String -> IO () getUploadUrl :: Manager -> String -> Maybe String -> String -> String -> IO Template getTag :: FromJSON a => Manager -> String -> String -> String -> String -> IO (Either String a) authorizationHeader :: String -> Header userAgentHeader :: Header userAgent :: String versionString :: String uploadFile :: Manager -> Template -> String -> FilePath -> String -> IO (Response ByteString) uploadBody :: Manager -> Template -> String -> RequestBody -> String -> IO (Response ByteString) instance GHC.Show.Show GitHubRelease.GHRelease instance GHC.Classes.Eq GitHubRelease.GHRelease instance GHC.Show.Show GitHubRelease.GHAsset instance GHC.Classes.Eq GitHubRelease.GHAsset instance GHC.Show.Show GitHubRelease.Command instance GHC.Generics.Generic GitHubRelease.Command instance Data.Aeson.Types.FromJSON.FromJSON GitHubRelease.GHRelease instance Data.Aeson.Types.FromJSON.FromJSON GitHubRelease.GHAsset instance Options.Generic.ParseRecord GitHubRelease.Command