mirror of https://github.com/nucypher/nucypher.git
13 lines
326 B
Python
Executable File
13 lines
326 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import sys
|
|
|
|
from nucypher.config.migrations import configuration_v1_to_v2
|
|
|
|
if __name__ == "__main__":
|
|
try:
|
|
_python, filepath = sys.argv
|
|
except ValueError:
|
|
raise ValueError('Invalid command: Provide a single configuration filepath.')
|
|
configuration_v1_to_v2(filepath=filepath)
|