commands

package
v0.0.89 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT Imports: 21 Imported by: 1

Documentation

Overview

Package commands containers all the commands for the application CLI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// Global Flags
	Flags Flags
	// contains filtered or unexported fields
}

func (*Controller) Init

func (ctrl *Controller) Init(ctx *cli.Context) error

func (*Controller) Lint

func (ctrl *Controller) Lint(ctx *cli.Context) error

func (*Controller) List

func (ctrl *Controller) List(ctx *cli.Context) error

func (*Controller) Prepare

func (ctrl *Controller) Prepare(e *engine.Engine, src *scaffold.ScaffoldRC)

Prepare sets up the controller to be called by the CLI, if the controller is not prepared it will panic

func (*Controller) Project

func (ctrl *Controller) Project(ctx *cli.Context) error

func (*Controller) Update

func (ctrl *Controller) Update(ctx *cli.Context) error

type Flags

type Flags struct {
	NoClobber      bool
	Force          bool
	ScaffoldRCPath string
	Cache          string
	OutputDir      string
	ScaffoldDirs   []string
	Cwd            string
}

Jump to

Keyboard shortcuts

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