community

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommunityCmd = &cobra.Command{
	Use:   "community",
	Short: "Utilities to manage the community repo",
	Long: `The community subcommand provides a set of utilities for managing the
community repo. This subcommand should be considered slightly unstable in that
we may determine a utility here should move to a more generalizable tool.`,
}
View Source
var CreateManifestCmd = &cobra.Command{
	Use:     "create-manifest <pathspec>",
	Short:   "Creates an app manifest from a prompt",
	Example: `  pixlet community create-manifest manifest.yaml`,
	Long:    `This command creates an app manifest by asking a series of prompts.`,
	Args:    cobra.ExactArgs(1),
	RunE:    CreateManifest,
}
View Source
var ListIconsCmd = &cobra.Command{
	Use:     "list-icons",
	Short:   "List icons that are available in our mobile app.",
	Example: `  pixlet community list-icons`,
	Long:    `This command lists all in your icons that are supported by our mobile app.`,
	RunE:    listIcons,
}
View Source
var LoadAppCmd = &cobra.Command{
	Use:     "load-app <path>",
	Short:   "Validates an app can be successfully loaded in our runtime.",
	Example: `pixlet community load-app examples/clock`,
	Long:    `This command ensures an app can be loaded into our runtime successfully.`,
	Args:    cobra.ExactArgs(1),
	RunE:    LoadApp,
}
View Source
var ValidateIconsCmd = &cobra.Command{
	Use:     "validate-icons <path>",
	Short:   "Validates the schema icons used are available in our mobile app.",
	Example: `pixlet community validate-icons examples/schema_hello_world`,
	Long: `This command determines if the icons selected in your app schema are supported
by our mobile app.`,
	Args: cobra.ExactArgs(1),
	RunE: ValidateIcons,
}
View Source
var ValidateManifestAppFileName string
View Source
var ValidateManifestCmd = &cobra.Command{
	Use:     "validate-manifest <pathspec>",
	Short:   "Validates an app manifest is ready for publishing",
	Example: `  pixlet community validate-manifest manifest.yaml`,
	Long: `This command determines if your app manifest is configured properly by
validating the contents of each field.`,
	Args: cobra.ExactArgs(1),
	RunE: ValidateManifest,
}

Functions

func CreateManifest

func CreateManifest(cmd *cobra.Command, args []string) error

func LoadApp added in v0.24.2

func LoadApp(cmd *cobra.Command, args []string) error

func ManifestPrompt

func ManifestPrompt() (*manifest.Manifest, error)

func ValidateIcons added in v0.24.1

func ValidateIcons(cmd *cobra.Command, args []string) error

func ValidateManifest

func ValidateManifest(cmd *cobra.Command, args []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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