Standardize alerts for import commands #109

Merged
merged 1 commit into from Jan 11, 2017

Projects

None yet

2 participants

@mjangda
Member
mjangda commented Jan 11, 2017 edited

Uses the displayNotice util.

$ ./build/bin/vip import files example.com uploads/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Importing files for site:
-- Site: example.com (#123)
-- Environment: production
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Are you sure?

$ ./build/bin/vip.js import sql example.com sql.sql
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Importing SQL for site:
-- Site: example.com (#123)
-- Environment: production
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Are you sure?
@joshbetz joshbetz self-requested a review Jan 11, 2017
@joshbetz joshbetz removed the needs review label Jan 11, 2017
@joshbetz joshbetz merged commit 58041cf into master Jan 11, 2017
@joshbetz joshbetz deleted the update/files-alert branch Jan 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment