UNPKG

@sizium/cli

Version:

Get the actual size of any local or remote package

21 lines (18 loc) 696 B
declare const updater: ({ name, version, }: { name: string; version: string; }) => Promise<void>; /** * Executes the CLI command based on the provided flags and options. * * This function processes the command-line arguments and executes the appropriate * action based on the specified flags. It supports options for displaying help, * version information, input processing, and execution time measurement. * * * The function uses the `Sizium` class to retrieve package size information * based on the input provided. It outputs the result in different formats * depending on the specified resolution type. */ declare const run: () => Promise<void>; export { run, updater };