1 Star 0 Fork 0

妥協/fabric

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
lifecycle.go 492 Bytes
Copy Edit Raw Blame History
/*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package lifecycle
import (
"github.com/hyperledger/fabric/internal/peer/lifecycle/chaincode"
"github.com/spf13/cobra"
)
// Cmd returns the cobra command for lifecycle
func Cmd() *cobra.Command {
lifecycleCmd := &cobra.Command{
Use: "lifecycle",
Short: "Perform _lifecycle operations",
Long: "Perform _lifecycle operations",
}
lifecycleCmd.AddCommand(chaincode.Cmd())
return lifecycleCmd
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liurenhao/fabric.git
git@gitee.com:liurenhao/fabric.git
liurenhao
fabric
fabric
v2.0.0-alpha

Search