mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-16 12:12:56 -06:00
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:
parent
d6c6bb4b24
commit
97bf28bad6
@ -12,6 +12,8 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import collections
|
import collections
|
||||||
from contextlib import asynccontextmanager
|
from contextlib import asynccontextmanager
|
||||||
@ -84,6 +86,7 @@ logger = logging.getLogger("google_adk." + __name__)
|
|||||||
|
|
||||||
|
|
||||||
@click.group(context_settings={"max_content_width": 240})
|
@click.group(context_settings={"max_content_width": 240})
|
||||||
|
@click.version_option(version.__version__)
|
||||||
def main():
|
def main():
|
||||||
"""Agent Development Kit CLI tools."""
|
"""Agent Development Kit CLI tools."""
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user