Entrypoints
This page documents the entrypoints used in this project.
diracx-cli
The diracx-cli package provides the diracx command-line interface.
[project.scripts]
dirac = "diracx.cli:app": This is the main entry point for thediracxcommand-line interface. It calls theappfunction indiracx/cli/__init__.py.
[project.entry-points."diracx.cli"]
These entry points are for the subcommands of the diracx command-line interface.
jobs = "diracx.cli.jobs:app": This is an entry point for thediracx jobssubcommand. It calls theappfunction indiracx/cli/jobs.py.config = "diracx.cli.config:app": This is an entry point for thediracx configsubcommand. It calls theappfunction indiracx/cli/config.py.
[project.entry-points."diracx.cli.hidden"]
These entry points are for hidden subcommands of the diracx command-line interface.
internal = "diracx.cli.internal:app": This is a hidden entry point for thediracx internalsubcommand. It calls theappfunction indiracx/cli/internal.py.
gubbins-cli
The gubbins-cli package provides the gubbins command-line interface.
[project.scripts]
gubbins = "gubbins.cli:app": This is the main entry point for thegubbinscommand-line interface. It calls theappfunction ingubbins/cli/__init__.py.
[project.entry-points."diracx.cli"]
This entry point extends the diracx command with a security subcommand.
security = "gubbins.cli.security:app": This is an entry point for thediracx securitysubcommand. It calls theappfunction ingubbins/cli/security.py.
Extending the diracx command
The diracx.cli entrypoint group allows extending the diracx command with subcommands from other packages. This is used by the gubbins-cli package to add the security subcommand to the diracx command.