ChristopherPHolder / app-speed

🌟 Beyond First Impressions: Measure your apps performance on user interactions
2 stars 0 forks source link

feature: add exclude option to filter command #89

Open ChristopherPHolder opened 4 weeks ago

ChristopherPHolder commented 4 weeks ago

Motivation

As user i want to be able to see what chunks are required for a feature and are not require for a parent feature.

Description

Allow user to select both included entry points and excluded entry points on filter command.

Examples:

Full Command

esbuild-meta filter --dist stats.json --entry movie-detail-page --excludeFromEntry main

Command with Alias

esbuild-meta -d stats.json -e movie-detail-page -x main

Handling invalid input

If the user passes an entry point that does not exist it should throw an error. The error should contain the invalid entry input.