ctpm

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IgnoreFiles = []string{".gitignore", ".c3pmignore"}
View Source
var InitDefaultOptions = InitOptions{
	NoTemplate: false,
}
View Source
var PublishDefaultOptions = PublishOptions{
	Ignore: []string{".git/**", ".c3pm/**"},
}

Functions

func Add

func Add(pc *config.ProjectConfig, opts AddOptions) error

func Build

func Build(pc *config.ProjectConfig) error

func Init

func Init(pc *config.ProjectConfig, opt InitOptions) error

func Install

func Install(pc *config.ProjectConfig) error

func Login

func Login(client api.API, login, password string) error

func Logout

func Logout() error

func Publish

func Publish(pc *config.ProjectConfig, client api.API, opt PublishOptions) error

Types

type AddOptions

type AddOptions struct {
	Force       bool
	RegistryURL string

	Dependencies []string
}

type InitOptions

type InitOptions struct {
	NoTemplate bool
}

type PublishOptions

type PublishOptions struct {
	Ignore []string
}

Jump to

Keyboard shortcuts

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