Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandAttr ¶
type PackageJSON ¶
type PackageJSON struct { Name string `json:"name"` Version string `json:"version"` Author string `json:"author"` Website string `json:"website"` Commands map[string]*CommandAttr `json:"commands"` Permissions map[string]*PermissionAttr `json:"permissions"` }
type PermissionAttr ¶
type Project ¶
type Project struct {
Dir string
}
func (*Project) CommandContext ¶
CommandContext creates a command that will execute with default settings and within the project directory
func (*Project) PackageJSON ¶
func (p *Project) PackageJSON() (*PackageJSON, error)
PackageJSON reads the package.json file contents from the project directory
Click to show internal directories.
Click to hide internal directories.