How to use the tldr.cli.init 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_init_command(self, repo_dir=path.join(ROOT, 'mock_tldr'),
                          platform='linux'):
        with mock.patch('click.prompt', side_effect=[repo_dir, platform]):
            result = self.runner.invoke(cli.init)
        return result

tldr

command line client for tldr

MIT
Latest version published 6 months ago

Package Health Score

73 / 100
Full package analysis