Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions cravat/cravat_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,8 @@ def install_modules(args):
au.install_module(
module_name,
version=module_version,
force_data=args.force_data,
force_data=args.force,
stage_handler=stage_handler,
force=args.force,
skip_data=args.skip_data,
install_pypi_dependency=args.install_pypi_dependency
)
Expand Down Expand Up @@ -410,12 +409,11 @@ def publish_module (args):

def install_base (args):
args = SimpleNamespace(modules=constants.base_modules,
force_data=args.force_data,
force_data=args.force,
version=None,
yes=True,
private=False,
skip_dependencies=False,
force=args.force,
skip_data=False,
install_pypi_dependency=args.install_pypi_dependency,
md=args.md,
Expand Down Expand Up @@ -530,11 +528,7 @@ def show_version (args):
)
parser_install_base.add_argument('-f','--force',
action='store_true',
help='Overwrite existing modules',
)
parser_install_base.add_argument('-d', '--force-data',
action='store_true',
help='Download data even if latest data is already installed'
help='Overwrite existing modules and re-download data',
)
parser_install_base.add_argument('--install-pypi-dependency',
action='store_true',
Expand Down Expand Up @@ -569,11 +563,7 @@ def show_version (args):
)
parser_install.add_argument('-f','--force',
action='store_true',
help='Install module even if latest version is already installed',
)
parser_install.add_argument('-d', '--force-data',
action='store_true',
help='Download data even if latest data is already installed'
help='Install module even if latest version is already installed. Forces a re-download of data even if latest is already installed. Use --skip-data to not re-download.',
)
parser_install.add_argument('-y','--yes',
action='store_true',
Expand Down