Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Add pre-run method to command class #64

Open
2 tasks
Vylpes opened this issue Nov 28, 2021 · 0 comments
Open
2 tasks

Add pre-run method to command class #64

Vylpes opened this issue Nov 28, 2021 · 0 comments
Milestone

Comments

@Vylpes
Copy link
Owner

Vylpes commented Nov 28, 2021

This command will allow the command to run checks (such as if .env contains the variable it needs) before it runs the command

  • Add method, requiring a bool to be returned
  • Add into command handler to run this method first, and only run the command is true is returned
@Vylpes Vylpes added this to the 2.1 milestone Nov 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant