Skip to content

API lsutil

class Lsutil

Unix ls command in Python

__init__ (self) #### {: .anchor .class-method data-toc-label='__init__' }

Initialize self. See help(type(self)) for accurate signature.

ls (self, pathnames: list, one: bool = False, longs: bool = False, classify: bool = False, capture: list = None, formats: str = None, humanize: bool = False) #### {: .anchor .class-method data-toc-label='ls' }

Unix ls command clone

main_cli () #### {: .anchor .class-method data-toc-label='main_cli' }

Unix command line interface

parse_cli (self) #### {: .anchor .class-method data-toc-label='parse_cli' }

Parse Unix command line arguments