stack ide commands¶
stack ide COMMAND Available commands: packages List all available local loadable packages targets List all available Stack targets
stack ide commands provide information that may be of use in an
integrated development environment (IDE). See
stack ide for the available
stack ide packages command¶
stack ide packages lists all available local packages that are loadable.
- its output is sent to the standard error channel. Pass the flag
--stdoutto change to the standard output channel; and
- the output is the package name (without its version). Pass the flag
--cabal-filesto change to the full path to the package's Cabal file.
stack ide targets command¶
stack ide targets lists all available Stack targets.
By default, its output is sent to the standard error channel. Pass the flag
--stdout to change to the standard output channel.
For example, for the Stack project itself, command:
and the output from the second command is: