dthree / dthree/wat

`wat tour` eventually has problems

Open
#47 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
508
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Here's one issue that I got past---it appears that there's supposed to be `stripColor` but it's not there? I just went with `supportsColor` and the tour continued.

```
? chalk

enabled styles supportsColor readme/

┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| |
| Nice. That last tab you did shows what's in Chalk. The green items are methods, blue are properties, and the rest are |
| docs, such as Chalk's readme on Github. |
| |
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| |
| Take a look at what's in "stripColor". You've typed half of it already. |
| |
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

? chalk stripColor

? Did you mean: chalk supportsColor
```

This was also kind of weird because I hadn't already typed half of it (assuming "it" refers to "stripColor").

The problem I'm stuck on now is the grepping option:

```
? github dthree wat
? Results: 1. GitHub - dthree/wat: Instant, central, community-built docs
Instant, central, community-built docs. Contribute to wat development by creating an account on GitHub....
:

┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| |
| You can also run this with "gh ..." or "readme ...". |
| |
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
| |
| Wat can also grep things! Let's have some fun: |
| |
| Run "gh awesome node -l | grep simple | less" to find some simply awesome things. |
| |
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

? gh awesome node -l | grep simple | less

Missing required option. Showing Help:

Usage: grep [options] [files...]

Grep (POSIX) implementation.

Options:

--help output usage information
-i, --ignore-case ignore case distinctions
-w, --word-regexp force pattern to match only whole words
-s, --no-messages suppress error messages
-v, --invert-match select non-matching lines
-m, --max-count stop after num matches
-b, --byte-offset print the byte offset with output lines
-n, --line-number print the line number with output lines
-H, --with-filename print the file name for each match
-h, --no-filename suppress the file name prefix on output
-q, --quiet suppress all normal output
--silent suppress all normal output
--include search only files that match file_pattern

?
```

(Awesome tool, BTW! The only other thing I've noticed is that navigating my cursor around a line of command I've typed causes the text to flicker and the cursor to jump around. This might be an underlying issue; if it's relevant / fixable, please let me know and I'll open a separate issue for it.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.