app

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ScaffoldRepo = "https://github.com/onflow/flow-app-scaffold/"

Variables

View Source
var Cmd = &cobra.Command{
	Use:              "app",
	Short:            "Utilities to create Flow app",
	TraverseChildren: true,
}
View Source
var CreateCommand = &command.Command{
	Cmd: &cobra.Command{
		Use:     "create <path>",
		Short:   "Create a new Flow project",
		Example: "flow app create my-app",
		Args:    cobra.ExactArgs(1),
	},
	Flags: &createFlags,
	Run:   create,
}

Functions

This section is empty.

Types

type CreateResult

type CreateResult struct {
	// contains filtered or unexported fields
}

func (*CreateResult) JSON

func (r *CreateResult) JSON() interface{}

func (*CreateResult) Oneliner

func (r *CreateResult) Oneliner() string

func (*CreateResult) String

func (r *CreateResult) String() string

type ExampleConfig

type ExampleConfig struct {
	Repo   string `json:"repo"`
	Branch string `json:"branch"`
}

type Examples

type Examples map[string]json.RawMessage

type FlagsCreate

type FlagsCreate struct{}

Jump to

Keyboard shortcuts

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