一、fork 1、从作者开源项目中fork到自己的github仓库 二、开发、测试 cobra官方文档:https://cobra.dev/ cobra github地址:https://github.com/spf13/cobra cobra一些概念 1、了解、开发goctls项目 1.1、找到main程序