-- 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.1.0 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." 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