diff --git a/pyliquibase/__init__.py b/pyliquibase/__init__.py index e2237d2..26580b7 100644 --- a/pyliquibase/__init__.py +++ b/pyliquibase/__init__.py @@ -18,7 +18,7 @@ class Pyliquibase(): - def __init__(self, defaultsFile: str, + def __init__(self, defaultsFile: str = None, liquibaseDir: str = None, jdbcDriversDir: str = None, additionalClasspath: str = None, @@ -233,12 +233,9 @@ def _download_file(self, url: str, destination: str) -> None: def main(): parser = argparse.ArgumentParser() - parser.add_argument('--defaultsFile', type=str, default="liquibase.properties", - help='Relative path to liquibase.properties file' - ) _args, args = parser.parse_known_args() - pl = Pyliquibase(defaultsFile=_args.defaultsFile) + pl = Pyliquibase() pl.execute(*args) diff --git a/setup.py b/setup.py index 0870f04..81a4f3b 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ 'pyliquibase = pyliquibase:main', ], }, - version='2.2.0', + version='2.3.0', packages=find_packages(), author="Memiiso Organization", description='Python liquibase',