in commands/FBPrintCommands.py [0:0]
def options(self):
return [
fb.FBCommandArgument(
short="-u",
long="--up",
arg="upwards",
boolean=True,
default=False,
help="Print only the hierarchy directly above the view, up to its window.",
),
fb.FBCommandArgument(
short="-d",
long="--depth",
arg="depth",
type="int",
default="0",
help="Print only to a given depth. 0 indicates infinite depth.",
),
fb.FBCommandArgument(
short="-w",
long="--window",
arg="window",
type="int",
default="0",
help='Specify the window to print a description of. Check which windows exist with "po (id)[[UIApplication sharedApplication] windows]".',
),
fb.FBCommandArgument(
short="-s",
long="--short",
arg="short",
boolean=True,
default=False,
help="Print a short description of the view",
),
fb.FBCommandArgument(
short="-m",
long="--medium",
arg="medium",
boolean=True,
default=False,
help="Print a medium description of the view",
),
]