File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ flowchart LR
151
151
`cmd2` out of the box allows scripters to take advantage of all exposed `do_* ` commands. As a
152
152
scripter one can easily interact with the application via `stdout` and `stderr` .
153
153
154
- As a baseline lets start off with the the following `cmd2` application called `FirstApp`
154
+ As a baseline let ' s start off with the the following `cmd2` application called `FirstApp`
155
155
156
156
```py
157
157
# !/usr/bin/env python
@@ -198,7 +198,7 @@ if __name__ == '__main__':
198
198
sys.exit(c.cmdloop())
199
199
```
200
200
201
- Lets start off on the wrong foot:
201
+ Let ' s start off on the wrong foot:
202
202
203
203
```py
204
204
app(' speak'
@@ -360,7 +360,7 @@ potentially lead to violation of the
360
360
[open_closed_principle](https:// en.wikipedia.org/ wiki/ Open% E2% 80 % 93closed_principle ).
361
361
362
362
When possible, a frozen dataclass is a lightweight solution perfectly suited for data manipulation.
363
- Lets dive into an example.
363
+ Let ' s dive into an example.
364
364
365
365
The following fictional application has two commands: `build` and `status` . We can pretend that the
366
366
build action happens somewhere else in the world at a REST API endpoint and has significant
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ default, the following shortcuts are defined:
11
11
- ** ` @ ` ** - run script file
12
12
- ** ` @@ ` ** - run script file; filename is relative to current script location
13
13
14
- To define more shortcuts, stat with the [ cmd2.DEFAULT_SHORTCUTS] [ ] constant which is a dictionary
14
+ To define more shortcuts, start with the [ cmd2.DEFAULT_SHORTCUTS] [ ] constant which is a dictionary
15
15
and then add more shortcuts to it by updating it with a dictionary of additional shortcuts in the
16
16
format ` {'shortcut': 'command_name'} ` where you omit ` do_ ` from the command name:
17
17
You can’t perform that action at this time.
0 commit comments