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.2.4 (latest)
Published
Apr 7, 2025
Platform
js/wasm
Imports
8 packages
Last checked
1 day ago

Tools for package owners.