cli

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "0.0.7"
	Author  = "elliot40404<avishek40404@gmail.com>"
	Name    = "modo"
	Desc    = "Modo is a simple cli app that lets you interact any text file that contains checkboxes in the markdown format."
	Example = "modo <options> <file>"
)

Variables

View Source
var (
	ErrNoInputFile  = errors.New("no input file provided")
	ErrFileNotExist = errors.New("file does not exist")
	ErrNotAFile     = errors.New("not a file")
	ErrFileOpen     = errors.New("error opening file")
)

Functions

This section is empty.

Types

type ParsedArgs added in v0.0.7

type ParsedArgs struct {
	PreserveIndent bool
	File           *os.File
}

func ParseArgs

func ParseArgs() (ParsedArgs, error)

Jump to

Keyboard shortcuts

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