Add `acli.ptree` poll .xsh snippet to docstr

(cherry picked from commit f617c8cb73)
diag_xontrib_aclis
Gud Boi 2026-05-14 13:02:22 -04:00
parent e6fec9dbc8
commit 9b3d36038b
1 changed files with 11 additions and 0 deletions

View File

@ -250,6 +250,17 @@ def _ptree(args):
tree shape with no severity-grouping. Same procs,
no annotations needed because each parent appears
directly above its children.
As a hot tip, you can use this `xonsh`-script snippet to poll
a target actor tree:
.. code-block:: xonsh
while 1:
acli.ptree pytest
@.imp.time.sleep(.3)
print("\033c", end="")
'''
flag_tree: bool = False
pos_args: list = []