Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove custom command line interface #28

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Conversation

sphuber
Copy link
Owner

@sphuber sphuber commented Apr 3, 2024

The package shipped with its own CLI aiida-s3. The only function was to provide a command that allowed creating new AiiDA profiles using any of the storage backends. As of aiida-core==2.5, the command verdi profile setup was added to verdi that dynamically creates a subcommand for each storage plugin that is registered.

The requirement is updated to aiida-core~=2.5. The custom CLI is removed entirely. The storage plugins remove the _get_cli_options methods and adds the new pydantic model definition that replaces it.

The package shipped with its own CLI `aiida-s3`. The only function was
to provide a command that allowed creating new AiiDA profiles using any
of the storage backends. As of `aiida-core==2.5`, the command
`verdi profile setup` was added to `verdi` that dynamically creates a
subcommand for each storage plugin that is registered.

The requirement is updated to `aiida-core~=2.5`. The custom CLI is
removed entirely. The storage plugins remove the `_get_cli_options`
methods and adds the new pydantic model definition that replaces it.
@sphuber sphuber force-pushed the feature/drop-custom-cli branch 2 times, most recently from edd81f1 to b71912b Compare April 3, 2024 19:23
@sphuber sphuber merged commit b71912b into master Apr 3, 2024
8 checks passed
@sphuber sphuber deleted the feature/drop-custom-cli branch April 3, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant