qpanda3_runtime.cli#

Command-line interface for QPanda3 Runtime Client.

This module provides CLI commands for the QPanda3 runtime client, primarily for displaying version information.

示例

>>> python -m qpanda3_runtime.cli --version

Functions#

version_command(version)

Display the version of QPanda3 Runtime Client.

Module Contents#

qpanda3_runtime.cli.version_command(version)#

Display the version of QPanda3 Runtime Client.

参数:

version (bool, optional) -- When provided (any value), displays the version information. This parameter is typically invoked with '--version' flag.

返回类型:

None

示例

>>> python -m qpanda3_runtime.cli --version
>>> python -m qpanda3_runtime.cli version_command --version

备注

The version information is retrieved from the package's __version__ attribute defined in qpanda3_runtime module.