args

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package args processes directory hierarchies identifying all gotomd template files.

Index

Constants

View Source
const (
	GoTemplate = ".gtm.go"
	MdTemplate = ".gtm.md"
)

Valid template extensions.

Variables

This section is empty.

Functions

func CheckUpToDate

func CheckUpToDate() bool

CheckUpToDate returns the flag indicating that we are only checking for changes. No writes will occur.

func Force

func Force() bool

Force returns the force setting.

func GoFiles

func GoFiles() []string

GoFiles returns the found go file templates.

func MdFiles

func MdFiles() []string

MdFiles returns the found markdown file templates.

func OutputDir

func OutputDir() string

OutputDir returns the overridden output directory.

func Perm

func Perm() os.FileMode

Perm return the default permission.

func Process

func Process() error

Process parses the command line arguments

func Reset

func Reset()

Reset clears any existing results.

func ShowDirective

func ShowDirective() bool

ShowDirective returns the show directive setting.

func ShowHelp

func ShowHelp() bool

ShowHelp returns the show help setting.

func ShowLicense

func ShowLicense() bool

ShowLicense returns the show license setting.

func Usage

func Usage() string

Usage returns the usage string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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