chore: Adds --version to adk cli.

Sample:

```
-> % adk --version
adk, version 1.0.0
```

Help with https://github.com/google/adk-python/issues/832

PiperOrigin-RevId: 764297949
This commit is contained in:
Wei Sun (Jack) 2025-05-28 09:36:53 -07:00 committed by Copybara-Service
parent d6c6bb4b24
commit 97bf28bad6

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import annotations
import asyncio
import collections
from contextlib import asynccontextmanager
@ -84,6 +86,7 @@ logger = logging.getLogger("google_adk." + __name__)
@click.group(context_settings={"max_content_width": 240})
@click.version_option(version.__version__)
def main():
"""Agent Development Kit CLI tools."""
pass