代码拉取完成,页面将自动刷新
/*
* @Author: jffan
* @Date: 2024-07-31 16:39:36
* @LastEditTime: 2024-08-02 16:56:48
* @LastEditors: jffan
* @FilePath: \gitee-tcas\cmd\policy\detail.go
* @Description: get the detail of the policy
*/
package policy
import (
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
var policyDetailCmd = &cobra.Command{
Use: "detail",
Short: "get the detail of the policy",
Long: `get the detail of the policy`,
Run: func(cmd *cobra.Command, args []string) {
logrus.Infof("policy detail called")
},
}
func init() {
Cmd.AddCommand(policyDetailCmd)
//set parameter for policy delete
policyDetailCmd.Flags().StringP("url", "u", "https://api.trustcluster.cc", "optional, tcas's api url")
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。