How to use the tldr.cli.locate function in tldr

To help you get started, we’ve selected a few tldr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lord63 / tldr.py / tests / basic.py View on Github external
def call_locate_command(self, command_name, platform):
        command_args = (
            [command_name, '--on', platform] if platform else [command_name])
        result = self.runner.invoke(cli.locate, command_args)
        return result

tldr

command line client for tldr

MIT
Latest version published 4 months ago

Package Health Score

78 / 100
Full package analysis