@@ -73,6 +73,22 @@ project.
73
73
view the remote snapshots using ` stack ls snapshots remote ` . It also supports
74
74
options for viewing only lts (` -l ` ) and nightly (` -n ` ) snapshots.
75
75
76
+ ## The ` stack ls stack-colors ` command
77
+
78
+ The British English spelling is also accepted (` stack ls stack-colours ` ).
79
+
80
+ ` stack ls stack-colors ` will list all of Stack's output styles. A number of
81
+ different formats for the output are available, see
82
+ ` stack ls stack-colors --help ` .
83
+
84
+ The default is a full report, with the equivalent SGR instructions and an
85
+ example of the applied style. The latter can be disabled with flags ` --no-sgr `
86
+ and ` --no-example ` .
87
+
88
+ The flag ` --basic ` specifies a more basic report, in the format that is accepted
89
+ by Stack's command line option ` --stack-colors ` and the YAML configuration key
90
+ ` stack-colors ` .
91
+
76
92
## The ` stack sdist ` command
77
93
78
94
Hackage only accepts packages for uploading in a standard form, a compressed
@@ -81,7 +97,7 @@ archive ('tarball') in the format produced by Cabal's `sdist` action.
81
97
` stack sdist ` generates an file for your package, in the format accepted by
82
98
Hackage for uploads. The command will report the location of the generated file.
83
99
The location can be changed from the default using the
84
- ` --tar-dir <path_to_directory ` option.
100
+ ` --tar-dir <path_to_directory> ` option.
85
101
86
102
By default, the command will check the package for common mistakes. This can be
87
103
disabled with the flag ` --ignore-check ` .
0 commit comments