plist

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cli.Command{
	Name:        "plist",
	Usage:       "Manage plist files",
	UsageText:   "zapp plist [command] [arguments...]",
	Description: "Perform operations on plist files",
	ArgsUsage:   "<path of .app directory> or <path of .plist file>",
	Action: func(c *cli.Context) error {
		if c.NArg() < 1 {
			return fmt.Errorf("path is required")
		}

		path := c.Args().First()
		plistPath, err := findPlistPath(path)
		if err != nil {
			return err
		}

		fmt.Printf("Using plist file: %s\n", plistPath)
		return nil
	},
	Subcommands: []*cli.Command{
		getCommand,
		setCommand,
	},
}

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