configcmd

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package configcmd 实现 `gow config`:把服务的本地配置导出到远程配置中心 (Consul/Etcd/Nacos),与桌面端/CLI 同一引擎(pkg/configexporter)。

Index

Constants

This section is empty.

Variables

View Source
var CmdConfig = &cobra.Command{
	Use:   "config",
	Short: "服务配置导出到远程配置中心(Consul/Etcd/Nacos)",
	Long: `将 app/<服务>/service/configs 下的配置文件导出到远程配置中心。

子命令:
  types    列出支持的配置中心类型
  services 列出项目内可导出的服务
  export   执行导出(缺省全部服务,--service 指定单个)`,
	SilenceUsage: true,
}

CmdConfig `gow config` 命令组。

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL