@option(
        "-r", "--recursive", action="store_true", default=False,
        help='recursively descend into subdirectories'
    )
    def line_ls(self, path=".", recursive=False):
        path = os.path.expanduser(path)
        self.retval = FileLinks(path, recursive=recursive)
Check for a simple list that can be rendered compactly.
dataset/ETHPy150Open Calysto/metakernel/metakernel/magics/ls_magic.py/LSMagic.line_ls--crossover with--dataset/ETHPy150Open zackw/header-survey/sphinx/ext/html5_output.py/BaseTranslator.check_simple_list