commands

package
v0.0.0-...-a0b7fc2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PulsarFramework Pulsar framework package reference
	PulsarFramework = "github.com/pulsar-go/pulsar"

	// SkeletonRepo Pulsar skeleton repo to start new projects
	SkeletonRepo = "https://github.com/pulsar-go/example/archive/master.zip"
)

Variables

View Source
var NewCommand = &Command{
	Name:        "new",
	Description: "creates a new pulsar project",
	Action: func(args ...string) {
		run(args[0])
	},
}

NewCommand creates a new pulsar project

Functions

This section is empty.

Types

type Command

type Command struct {
	Name        string
	Aliases     []string
	Description string
	Action      func(args ...string)
}

Command represents the cli command structure

Jump to

Keyboard shortcuts

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