github-release-1.0.4: Upload files to GitHub releases.

Safe HaskellNone
LanguageHaskell2010

GitHubRelease

Documentation

data Command #

Constructors

Upload 

Fields

Version 

Instances

Show Command # 
Generic Command # 

Associated Types

type Rep Command :: * -> * #

Methods

from :: Command -> Rep Command x #

to :: Rep Command x -> Command #

ParseRecord Command # 
type Rep Command # 
type Rep Command = D1 (MetaData "Command" "GitHubRelease" "github-release-1.0.4-F8HRcyy6Bqo1TOf2NoCkhT" False) ((:+:) (C1 (MetaCons "Upload" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "file") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ((<?>) FilePath "The path to the local file to upload."))) ((:*:) (S1 (MetaSel (Just Symbol "name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ((<?>) String "The name to give the file on the release."))) (S1 (MetaSel (Just Symbol "owner") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ((<?>) String "The GitHub owner, either a user or organization."))))) ((:*:) (S1 (MetaSel (Just Symbol "repo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ((<?>) String "The GitHub repository name."))) ((:*:) (S1 (MetaSel (Just Symbol "tag") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ((<?>) String "The tag name."))) (S1 (MetaSel (Just Symbol "token") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ((<?>) String "Your OAuth2 token."))))))) (C1 (MetaCons "Version" PrefixI False) U1))

main :: IO () #

upload :: String -> String -> String -> String -> FilePath -> String -> IO () #