From 5249d2a3cadf408c124db160bff13d7e77dc81d3 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 23 Jan 2019 22:05:33 -0500 Subject: [PATCH] removed unused methods --- lbrynet/extras/cli.py | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/lbrynet/extras/cli.py b/lbrynet/extras/cli.py index 75c6e77e0..9a082c2c9 100644 --- a/lbrynet/extras/cli.py +++ b/lbrynet/extras/cli.py @@ -42,43 +42,6 @@ async def execute_command(conf, method, params): print("Could not connect to daemon. Are you sure it's running?") -def print_help(): - print(dedent(""" - NAME - lbrynet - LBRY command line client. - - USAGE - lbrynet [--data_dir=] [--wallet_dir=] - [--download_dir=] [] - - EXAMPLES - lbrynet start # starts the daemon and listens for jsonrpc commands - lbrynet help # display this message - lbrynet help # get help for a command(doesn't need the daemon to be running) - lbrynet commands # list available commands - lbrynet status # get the running status of the daemon - lbrynet resolve what # resolve a name - - lbrynet --wallet_dir=~/wallet2 start # start the daemon using an alternative wallet directory - lbrynet --data_dir=~/lbry start # start the daemon using an alternative data directory - - lbrynet --data_dir=~/lbry # run a command on a daemon using an alternative data directory, - # which can contain a full daemon_settings.yml config file. - # Note: since the daemon is what runs the wallet and - # downloads files, only the --data_dir setting is needed when - # running commands. The wallet_dir and download_dir would only - # by used when starting the daemon. - """)) - - -def print_help_for_command(command): - fn = Daemon.callable_methods.get(command) - if fn: - print(dedent(fn.__doc__)) - else: - print("Invalid command name") - - def normalize_value(x, key=None): if not isinstance(x, str): return x