Akryum / peeky

A fast and fun test runner for Vite & Node 🐈️ Powered by Vite ⚡️
https://peeky.dev
MIT License
681 stars 17 forks source link

refactor(cli): programmatic access to cli commands #28

Closed mathieutu closed 3 years ago

mathieutu commented 3 years ago

Hi,

To be able to make some test about #24, I need to be able to call the actions programmatically.

This PR is a simple refactoring which extracts the actions for the bin file.

Thanks.