tealdeer/docs
Danilo Bargen 1c05333de6 Allow setting platform to all
The goal is supporting the special `all` platform that results in pages
for all platforms being listed when calling `--list`. It's part of the
tldr client specification.

However, `All` should not be a variant of the `PlatformType` enum,
because `Current` isn't a `PlatformType` either. Thus, we accept the
string `all` but convert it into the current platform when parsing.

For consistency, the same is done when no platform is specified, by
introducing yet another possible value `current` which is used by
default. This way, we get rid of the `Option`.

To simplify handling of os / platform arguments, a conflict between
`--platform` and `--os` was introduced.
2021-12-06 00:35:14 +01:00
..
src Allow setting platform to all 2021-12-06 00:35:14 +01:00
.gitignore Add mdbook documentation 2020-11-01 01:39:47 +01:00
book.toml Add mdbook documentation 2020-11-01 01:39:47 +01:00
README.md Docs: Add README 2020-11-14 23:55:49 +01:00

Tealdeer Docs

To build the docs, install mdbook.

You can build the HTML with mdbook build.

To serve the docs on localhost:3000 and watch for changes, use mdbook serve.