package cli

import "github.com/pelletier/go-toml/v2/internal/cli"

Index

Types

type ConvertFn

type ConvertFn func(r io.Reader, w io.Writer) error

type Program

type Program struct {
	Usage string
	Fn    ConvertFn
	// Inplace allows the command to take more than one file as argument and
	// perform conversion in place on each provided file.
	Inplace bool
}

func (*Program) Execute

func (p *Program) Execute()

Source Files

cli.go

Version
v2.1.1
Published
Dec 11, 2023
Platform
windows/amd64
Imports
8 packages
Last checked
18 hours ago

Tools for package owners.