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

Implement verbose mode #1

Closed
quantumsheep opened this issue Oct 27, 2018 · 2 comments
Closed

Implement verbose mode #1

quantumsheep opened this issue Oct 27, 2018 · 2 comments
Labels
hacktoberfest https://hacktoberfest.digitalocean.com/ help wanted Extra attention is needed

Comments

@quantumsheep
Copy link
Owner

quantumsheep commented Oct 27, 2018

Implement -v/--verbose option.

WarShield needs to have less informations by default than now and a verbose mode to display every information.

Expected behavior without verbose:

Scanning files... Done!
Encrypting files... Done!
Elapsed time: 16.27s
Total encrypted files: 1653
Failed: 3 (read-only files)

Expected behavior with verbose:

Added file /etc/nginx/conf.d
Added file /etc/nginx/fastcgi.conf
Added file /etc/nginx/sites-available/default
Added file /etc/nginx/sites-enabled/default
Done encrypting file /etc/nginx/conf.d
Done encrypting /etc/nginx/fastcgi.conf
Done encrypting /etc/nginx/sites-available/default
Done encrypting /etc/nginx/sites-enabled/default
Finished encrypting files!
Elapsed time: 0.76s
Total encrypted files: 4
Failed: 0 (read-only files)
@quantumsheep quantumsheep added help wanted Extra attention is needed hacktoberfest https://hacktoberfest.digitalocean.com/ labels Oct 27, 2018
@masihtamsoy
Copy link

Hi, I want to pick this up. Is it available? I have not worked with CLI. It’s my first attempt. Can you provide info to get me going?

@quantumsheep
Copy link
Owner Author

@masihtamsoy I just finished verbose option but if you want you can take #2 😃

quantumsheep added a commit that referenced this issue Oct 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest https://hacktoberfest.digitalocean.com/ help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants