-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI: Enable install
--download-only
without available profile (#166)
The `aiida-pseudo install sssp/pseudo-dojo` provide the `--download-only` option to only download the archive. This is useful in case a family needs to be installed on a machine without a (stable) internet connection. With this option, the archive can be downloaded on another machine first before transferring the file and installing it directly from the archive. Currently, however, the install command always requires an AiiDA profile to be configured, even for the `--download-only` option in which case the command never needs access to the profile. Here, this requirement is removed by removing the `with_dbenv` decorator from the command. Instead, the profile is loaded manually inside the command at the point where it is really necessary.
- Loading branch information
Showing
2 changed files
with
102 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters