Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add botman:cache:clear command #26

Merged
merged 1 commit into from
Sep 12, 2018
Merged

Add botman:cache:clear command #26

merged 1 commit into from
Sep 12, 2018

Conversation

rashidlaasri
Copy link
Contributor

@rashidlaasri rashidlaasri commented Aug 29, 2018

This PR adds a botman:cache:clear command that clears the storage/botman cache directory.

While testing the cache folder gets filled with tons of files and you have to search for the recently generated file in order to inspect the stored data.

With this command you can simply remove all conversations and start from scratch.

@codecov
Copy link

codecov bot commented Aug 29, 2018

Codecov Report

Merging #26 into master will decrease coverage by 1.78%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #26      +/-   ##
============================================
- Coverage        43%   41.21%   -1.79%     
- Complexity       77       80       +3     
============================================
  Files            10       11       +1     
  Lines           300      313      +13     
============================================
  Hits            129      129              
- Misses          171      184      +13
Impacted Files Coverage Δ Complexity Δ
src/Console/Commands/BotManCacheClear.php 0% <0%> (ø) 3 <3> (?)
src/Providers/StudioServiceProvider.php 0% <0%> (ø) 2 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bf5c13b...f830c9d. Read the comment docs.

@christophrumpel
Copy link
Collaborator

Great idea. I always used the Laravel command but this is much nicer 👍

@mpociot mpociot merged commit c34e49b into botman:master Sep 12, 2018
@mpociot
Copy link
Member

mpociot commented Sep 12, 2018

Thank you! Great addition!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants