Skip to content

Commit

Permalink
[feat]:add export cmd for export the yaml that tools-v2 used
Browse files Browse the repository at this point in the history
Signed-off-by: youarefree123 <[email protected]>
  • Loading branch information
youarefree123 committed Dec 12, 2023
1 parent b6cc110 commit 0e10900
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion cli/command/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ func addSubCommands(cmd *cobra.Command, curveadm *cli.CurveAdm) {
NewStopCommand(curveadm), // curveadm stop
NewSupportCommand(curveadm), // curveadm support
NewUpgradeCommand(curveadm), // curveadm upgrade
NewExportCommand(curveadm), // curveadm export
// commonly used shorthands
hosts.NewSSHCommand(curveadm), // curveadm ssh
hosts.NewPlaybookCommand(curveadm), // curveadm playbook
Expand Down
1 change: 1 addition & 0 deletions cli/command/config/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func NewConfigCommand(curveadm *cli.CurveAdm) *cobra.Command {
NewShowCommand(curveadm),
NewDiffCommand(curveadm),
NewCommitCommand(curveadm),
NewExportCommand(curveadm),
)
return cmd
}
2 changes: 1 addition & 1 deletion cli/command/export.go → cli/command/config/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

// __SIGN_BY_YOUAREFREE123__

package command
package config

import (
"path"
Expand Down

0 comments on commit 0e10900

Please sign in to comment.