8000 Copybara import of the project: · randomprin/python-fire@a5dba13 · GitHub
[go: up one dir, main page]

Skip to content

Commit a5dba13

Browse files
pranavgupta1234copybara-github
authored andcommitted
Copybara import of the project:
-- 9d5f581 by Pranav Gupta <pranavgupta4321@gmail.com>: Update using-cli.md to reflect support for --help COPYBARA_INTEGRATE_REVIEW=google#194 from pranavgupta1234:patch-1 9d5f581 PiperOrigin-RevId: 297612634 Change-Id: I89eed909ad09226a9642d968497b413d12512dae
1 parent 04e2434 commit a5dba13

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/using-cli.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ arguments. This command corresponds to the Python component you called the
99
`Fire` function on. If you did not supply an object in the call to `Fire`, then
1010
the context in which `Fire 86B1 ` was called will be used as the Python component.
1111

12-
You can append `-- --help` to any command to see what Python component it
12+
You can append `--help` or `-h` to a command to see what Python component it
1313
corresponds to, as well as the various ways in which you can extend the command.
14-
Flags are always separated from the Fire command by an isolated `--` in order
15-
to distinguish between flags and named arguments.
14+
15+
Flags to Fire should be separated from the Fire command by an isolated `--` in
16+
order to distinguish between flags and named arguments. So, for example, to
17+
enter interactive mode append `-- -i` or `-- --interactive` to any command. To
18+
use Fire in verbose mode, append `-- --verbose`.
1619

1720
Given a Fire command that corresponds to a Python object, you can extend that
1821
command to access a member of that object, call it with arguments if it is a

0 commit comments

Comments
 (0)
0