package app
import "git.sr.ht/~jamesponddotco/imgdiet-go/cmd/imgdiet/internal/app"
Package app is the main package for the application.
Index ¶
Constants ¶
const ( // ErrFileExists is the error returned when the file already exists. ErrFileExists xerrors.Error = "file already exists" // ErrNotEnoughArguments is the error returned when there are not enough // arguments. ErrNotEnoughArguments xerrors.Error = "not enough arguments; expected input and output" )
Functions ¶
func OptimizeAction ¶
func OptimizeAction(c *cli.Context) error
OptimizeAction is the action for the optimize command.
func Run ¶
func Run() int
Run is the entry point for the application.
Source Files ¶
- Version
- v0.2.0 (latest)
- Published
- Oct 22, 2024
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 3 days ago –
Tools for package owners.