You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
526 B
14 lines
526 B
12 months ago
|
import argparse
|
||
|
|
||
|
import path_util # noqa: F401
|
||
|
|
||
|
from hummingbot.client.config.conf_migration import migrate_configs
|
||
|
from hummingbot.client.config.config_crypt import ETHKeyFileSecretManger
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
parser = argparse.ArgumentParser(description="Migrate the HummingBot confs")
|
||
|
parser.add_argument("password", type=str, help="Required to migrate all encrypted configs.")
|
||
|
args = parser.parse_args()
|
||
|
secrets_manager_ = ETHKeyFileSecretManger(args.password)
|
||
|
migrate_configs(secrets_manager_)
|