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 thediracx
command-line interface. It calls theapp
function 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 jobs
subcommand. It calls theapp
function indiracx/cli/jobs.py
.config = "diracx.cli.config:app"
: This is an entry point for thediracx config
subcommand. It calls theapp
function 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 internal
subcommand. It calls theapp
function 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 thegubbins
command-line interface. It calls theapp
function 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 security
subcommand. It calls theapp
function 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.