cmd

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: BSD-3-Clause Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "MeidoSerialization",
	Short: "MeidoSerialization CLI tool",
	Long: `MeidoSerialization CLI tool for converting between COM3D2 MOD files and JSON.
This tool can convert MOD files to JSON, JSON files to MOD files, and determine file types.
(For .tex, it is converted to image, for .nei, it is converted to .csv)

Supported file types include: .menu, .mate/.mat, .pmat, .col, .phy, .psk, .tex, .anm, .model, .nei

Github: https://github.com/MeidoPromotionAssociation/MeidoSerialization



MeidoSerialization CLI 工具,用于在 COM3D2 MOD 文件和 JSON 之间进行转换。
此工具可以将 MOD 文件转换为 JSON,也可以将 JSON 文件转换为 MOD 文件,并可识别文件类型。
(对于 .tex 则是转换为图片,对于 .nei 则是转换为 .csv)

支持的文件类型包括:.menu、.mate/.mat、.pmat、.col、.phy、.psk、.tex、.anm、.model、.nei

中文说明请查看在线文档:
Github:https://github.com/MeidoPromotionAssociation/MeidoSerialization
`,
	Run: func(cmd *cobra.Command, args []string) {

		err := cmd.Help()
		if err != nil {
			return
		}
	},
}

RootCmd 是未指定子命令时使用的 CLI 根命令 / RootCmd is the CLI root command used when no subcommand is specified

Functions

func Execute

func Execute() error

Execute 执行已经注册全部子命令和全局参数的 CLI 根命令 Execute runs the CLI root command after all subcommands and global flags have been registered

Types

This section is empty.

Jump to

Keyboard shortcuts

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