The stack upload command¶
stack upload [ITEM] [-d|--documentation] [--pvp-bounds PVP-BOUNDS]
[--ignore-check] [--[no-]test-tarball] [--tar-dir ARG]
[--candidate] [--[no-]save-hackage-creds] [--setup-info-yaml URL]
[--snapshot-location-base URL]
By default:
-
the command uploads one or more packages. Pass the flag
--documentation(-dfor short) to upload documentation for one or more packages; -
the upload is a package to be published or documentation for a published package. Pass the flag
--candidateto upload a package candidate or documentation for a package candidate; and -
the command prompts to save the user's Hackage username and password in a local file. Pass the flag
--no-save-hackage-credsto avoid the prompt.
At least one ITEM must be specified. For example, if the current working
directory is a package directory: