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

[feat] Add cache purge support to the flarectl CLI. #156

Merged
merged 1 commit into from Nov 28, 2017

Conversation

elithrar
Copy link
Contributor

@elithrar elithrar commented Nov 28, 2017

  • The upcoming Purge by Host functionality has been added to the library
  • flarectl now has a purge sub-command for purging from cache.

e.g

# Purge by host (upcoming)
flarectl zone purge --zone=example.com --hosts="repeater.example.com"

# Purge everything 
flarectl zone purge --zone=example.com --everything

# Purge by filename 
flarectl zone purge --zone=example.com \
  --files="http://repeater.example.com/styles.css,http://repeater.example.com/javascript.js"

@elithrar elithrar self-assigned this Nov 28, 2017
Copy link
Contributor

@jamesog jamesog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We really need to look at switching out the CLI library for something a little nicer.

@elithrar
Copy link
Contributor Author

@jamesog That's my 🎄🎄🎄 Holiday Project ® 🎄🎄🎄

@elithrar elithrar merged commit f36897f into master Nov 28, 2017
@elithrar elithrar deleted the msilverlock/purge-by-host branch November 28, 2017 20:24
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.

None yet

2 participants