Skip to content

Commit 16a337d

Browse files
committed
Removed obsolete documentation
1 parent cd5bfb5 commit 16a337d

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

docs/freefeatures.rst

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -130,29 +130,13 @@ debugging your application. To prevent users from enabling this ability
130130
manually you'll need to remove ``locals_in_py`` from the ``settable`` dictionary.
131131

132132
The ``app`` object (or your custom name) provides access to application commands
133-
through either raw commands or through a python API wrapper. For example, any
134-
application command call be called with ``app("<command>")``. All application
135-
commands are accessible as python objects and functions matching the command
136-
name. For example, the following are equivalent:
133+
through raw commands. For example, any application command call be called with
134+
``app("<command>")``.
137135

138136
::
139137

140138
>>> app('say --piglatin Blah')
141139
lahBay
142-
>>> app.say("Blah", piglatin=True)
143-
lahBay
144-
145-
146-
Sub-commands are also supported. The following pairs are equivalent:
147-
148-
::
149-
150-
>>> app('command subcmd1 subcmd2 param1 --myflag --otherflag 3')
151-
>>> app.command.subcmd1.subcmd2('param1', myflag=True, otherflag=3)
152-
153-
>>> app('command subcmd1 param1 subcmd2 param2 --myflag --otherflag 3')
154-
>>> app.command.subcmd1('param1').subcmd2('param2', myflag=True, otherflag=3)
155-
156140

157141
More Python examples:
158142

0 commit comments

Comments
 (0)