class

Hwaro::CLI::Commands::Tool::UnusedAssetsCommand

Inherits Reference / Object

Constants

DESCRIPTION = "Find unreferenced static files (images, fonts, CSS/JS, media, pdf/zip)"
FLAGS = [CONTENT_DIR_FLAG, FlagInfo.new(short: "-s", long: "--static-dir", description: "Static files directory (default: static)", takes_value: true, value_hint: "DIR"), FlagInfo.new(short: nil, long: "--delete", description: "Delete unused files (with confirmation)"), FlagInfo.new(short: "-f", long: "--force", description: "Skip confirmation prompt when deleting"), JSON_FLAG, HELP_FLAG]
NAME = "unused-assets"
POSITIONAL_ARGS = [] of String
POSITIONAL_CHOICES = [] of String

Class methods

metadata
Source

Instance methods

run(args : Array(String))
Source