From 22400124023cde5f83bd29d048a01700b4bfef2d Mon Sep 17 00:00:00 2001 From: YueGuobin Date: Wed, 22 Apr 2026 14:13:19 +0800 Subject: [PATCH] Rename gns3-wireshark-setup to wireshark for simpler command Co-Authored-By: Claude Opus 4.6 --- docs/development-setup.md | 2 +- docs/features/web-wireshark-business-process.md | 6 +++--- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/development-setup.md b/docs/development-setup.md index b6ae3a42c..17de34965 100644 --- a/docs/development-setup.md +++ b/docs/development-setup.md @@ -103,7 +103,7 @@ source venv/bin/activate # For China mainland users, use mirror: # pip install -e . -i https://mirrors.aliyun.com/pypi/simple/ -pip install -e . && gns3-wireshark-setup +pip install -e . && wireshark pip install -e .[ai-copilot] pip install -e .[dev] ``` diff --git a/docs/features/web-wireshark-business-process.md b/docs/features/web-wireshark-business-process.md index 338eec3ee..bb1fbab19 100644 --- a/docs/features/web-wireshark-business-process.md +++ b/docs/features/web-wireshark-business-process.md @@ -27,10 +27,10 @@ Before using Web Wireshark, install the GNS3 server and set up the Docker image: ```bash # Development install -pip install -e . && gns3-wireshark-setup +pip install -e . && wireshark # Production install -pip install gns3-server && gns3-wireshark-setup +pip install gns3-server && wireshark ``` This command will: @@ -38,7 +38,7 @@ This command will: 2. Pull the `gns3/web-wireshark:latest` image from Docker Hub 3. If pull fails, build the image locally using the included Dockerfile -The `gns3-wireshark-setup` command shows the raw output from `docker pull` or `docker build`, allowing you to see the full progress. +The `wireshark` command shows the raw output from `docker pull` or `docker build`, allowing you to see the full progress. --- diff --git a/pyproject.toml b/pyproject.toml index 63a48aead..3135699d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,7 +51,7 @@ ai-copilot = {file = ['ai-requirements.txt']} gns3server = "gns3server.main:main" gns3vmnet = "gns3server.utils.vmnet:main" gns3server-uninstall-ai-copilot = "gns3server.utils.uninstall_ai_copilot:main" -gns3-wireshark-setup = "gns3server.agent.web_wireshark.setup_wireshark_image:main" +wireshark = "gns3server.agent.web_wireshark.setup_wireshark_image:main" [tool.setuptools] packages = ["gns3server"]