-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Colored output can be controlled on the command line with `--use-color auto|always|never`. The default is `auto`, which enables color if `imdl` detects that it is printing to a terminal. Color can be disabled entirely by setting the `NO_COLOR` environment variable. type: added
- Loading branch information
Showing
12 changed files
with
269 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,36 @@ | ||
# intermodal: a 40' shipping container for the Internet | ||
|
||
## Colored Output | ||
|
||
Intermodal features colored help, error, and informational output. Colored | ||
output is disabled if Intermodal detects that it is not printing to a TTY. | ||
|
||
To disable colored output, set the `NO_COLOR` environment variable to any | ||
valu or pass `--use-color never` on the command line. | ||
|
||
To force colored output, pass `--use-color always` on the command line. | ||
|
||
## Semantic Versioning and Unstable Features | ||
|
||
Intermodal follows [semantic versioning](https://semver.org/). | ||
|
||
In particular: | ||
|
||
- v0.0.X: Breaking changes may be introduced at any time. | ||
- v0.X.Y: Breaking changes may only be introduced with a minor version number | ||
bump. | ||
- vX.Y.Z: Breaking changes may only be introduced with a major version number | ||
bump | ||
|
||
To avoid premature stabilization and excessive version churn, unstable features | ||
are unavailable unless the `--unstable` / `-u` flag is passed. Unstable | ||
features may be changed or removed at any time. | ||
|
||
``` | ||
$ imdl torrent stats --input tmp | ||
error: Feature `torrent stats subcommand` cannot be used without passing the `--unstable` flag | ||
$ imdl --unstable torrent stats tmp | ||
Torrents processed: 0 | ||
Read failed: 0 | ||
Decode failed: 0 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.