Skip to content

Commit c74aefa

Browse files
updating text
1 parent 07721eb commit c74aefa

3 files changed

Lines changed: 51 additions & 51 deletions

File tree

cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ var commandDescriptions = []struct {
3636
{"natures", "Get details about all natures"},
3737
{"pokemon", "Get details about a Pokémon"},
3838
{"search", "Search for a resource"},
39-
{"speed", "Get details about a speed or speed"},
39+
{"speed", "Calculate the speed of a Pokémon in battle"},
4040
{"types", "Get details about a typing"},
4141
}
4242

testdata/cli_help.golden

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
╭──────────────────────────────────────────────────────────────
2-
│Welcome! This tool displays data related to Pokémon!
3-
4-
│ USAGE:
5-
│ poke-cli [flag]
6-
│ poke-cli <command> [flag]
7-
│ poke-cli <command> <subcommand> [flag]
8-
9-
│ FLAGS:
10-
│ -h, --help Shows the help menu
11-
│ -l, --latest Prints the latest version available
12-
│ -v, --version Prints the current version
13-
14-
│ COMMANDS:
15-
│ ability Get details about an ability
16-
│ berry Get details about a berry
17-
│ card Get details about a TCG card
18-
│ item Get details about an item
19-
│ move Get details about a move
20-
│ natures Get details about all natures
21-
│ pokemon Get details about a Pokémon
22-
│ search Search for a resource
23-
│ speed Calculate the speed of a Pokémon in battle
24-
│ types Get details about a typing
25-
26-
│ Use a hyphen when typing a name with a space.
27-
│ example: poke-cli ability strong-jaw
28-
│ example: poke-cli pokemon flutter-mane
29-
30-
│ ↓ ctrl/cmd + click for docs/guides
31-
│ ]8;;https://docs.poke-cli.com\docs.poke-cli.com]8;;\
32-
╰──────────────────────────────────────────────────────────────
1+
╭──────────────────────────────────────────────────────────────╮
2+
│Welcome! This tool displays data related to Pokémon! │
3+
│ │
4+
│ USAGE: │
5+
│ poke-cli [flag] │
6+
│ poke-cli <command> [flag] │
7+
│ poke-cli <command> <subcommand> [flag] │
8+
│ │
9+
│ FLAGS: │
10+
│ -h, --help Shows the help menu │
11+
│ -l, --latest Prints the latest version available │
12+
│ -v, --version Prints the current version │
13+
│ │
14+
│ COMMANDS: │
15+
│ ability Get details about an ability │
16+
│ berry Get details about a berry │
17+
│ card Get details about a TCG card │
18+
│ item Get details about an item │
19+
│ move Get details about a move │
20+
│ natures Get details about all natures │
21+
│ pokemon Get details about a Pokémon │
22+
│ search Search for a resource │
23+
│ speed Calculate the speed of a Pokémon in battle│
24+
│ types Get details about a typing │
25+
│ │
26+
│ Use a hyphen when typing a name with a space. │
27+
│ example: poke-cli ability strong-jaw │
28+
│ example: poke-cli pokemon flutter-mane │
29+
│ │
30+
│ ↓ ctrl/cmd + click for docs/guides │
31+
│ ]8;;https://docs.poke-cli.com\docs.poke-cli.com]8;;\ │
32+
╰──────────────────────────────────────────────────────────────╯
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
╭──────────────────────────────────────────────────────────────
2-
│✖ Error!
3-
│ 'movesets' is not a valid command.
4-
5-
│Commands:
6-
│ ability Get details about an ability
7-
│ berry Get details about a berry
8-
│ card Get details about a TCG card
9-
│ item Get details about an item
10-
│ move Get details about a move
11-
│ natures Get details about all natures
12-
│ pokemon Get details about a Pokémon
13-
│ search Search for a resource
14-
│ speed Calculate the speed of a Pokémon in battle
15-
│ types Get details about a typing
16-
17-
│Also run poke-cli -h for more info!
18-
╰──────────────────────────────────────────────────────────────
1+
╭──────────────────────────────────────────────────────────────╮
2+
│✖ Error! │
3+
│ 'movesets' is not a valid command. │
4+
│ │
5+
│Commands: │
6+
│ ability Get details about an ability │
7+
│ berry Get details about a berry │
8+
│ card Get details about a TCG card │
9+
│ item Get details about an item │
10+
│ move Get details about a move │
11+
│ natures Get details about all natures │
12+
│ pokemon Get details about a Pokémon │
13+
│ search Search for a resource │
14+
│ speed Calculate the speed of a Pokémon in battle│
15+
│ types Get details about a typing │
16+
│ │
17+
│Also run poke-cli -h for more info! │
18+
╰──────────────────────────────────────────────────────────────╯

0 commit comments

Comments
 (0)