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
cryptogen.go 592 Bytes
Copy Edit Raw Blame History
/*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package commands
type Generate struct {
Config string
Output string
}
func (c Generate) SessionName() string {
return "cryptogen-generate"
}
func (c Generate) Args() []string {
return []string{
"generate",
"--config", c.Config,
"--output", c.Output,
}
}
type Extend struct {
Config string
Input string
}
func (c Extend) SessionName() string {
return "cryptogen-extend"
}
func (c Extend) Args() []string {
return []string{
"extend",
"--config", c.Config,
"--input", c.Input,
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liurenhao/fabric.git
git@gitee.com:liurenhao/fabric.git
liurenhao
fabric
fabric
v2.1.1

Search