github.com/vchain-us/vcn@v0.9.11-0.20210921212052-a2484d23c0b3/pkg/cmd/set/set.go (about) 1 /* 2 * Copyright (c) 2018-2020 vChain, Inc. All Rights Reserved. 3 * This software is released under GPL3. 4 * The full license information can be found under: 5 * https://www.gnu.org/licenses/gpl-3.0.en.html 6 * 7 */ 8 9 package set 10 11 import ( 12 "github.com/vchain-us/vcn/pkg/cmd/set/passphrase" 13 14 "github.com/spf13/cobra" 15 ) 16 17 // NewCommand returns the cobra command for `vcn set` 18 func NewCommand() *cobra.Command { 19 cmd := &cobra.Command{ 20 Use: "set", 21 Short: "Set specific features options", 22 Long: ``, 23 Args: cobra.NoArgs, 24 } 25 26 cmd.AddCommand(passphrase.NewCommand()) 27 // todo(leogr): re-enable when offline secret support is ready 28 // cmd.AddCommand(secret.NewCommand()) 29 30 return cmd 31 }