Hwaro::CLI::Commands::Tool::StatsCommand
Constants
DEFAULT_TOP_TAGS = 15
Historical default for the tag chart; --top overrides it.
DESCRIPTION = "Show content statistics"
FLAGS = [CONTENT_DIR_FLAG, TOP_FLAG, JSON_FLAG, HELP_FLAG]
NAME = "stats"
POSITIONAL_ARGS = [] of String
POSITIONAL_CHOICES = [] of String
TOP_FLAG = FlagInfo.new(short: nil, long: "--top", description: "Show the top N tags in the chart (default: #{DEFAULT_TOP_TAGS})", takes_value: true, value_hint: "N")
Class methods
metadata
Source