Last active
June 1, 2018 13:13
-
-
Save NasirNobin/dfb5b8bf987caeb17ac597fe3453ff33 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fs = require('fs') | |
| var option = process.argv[2]; | |
| fs.readdirSync('./').forEach(file => { | |
| if (/^\..*/.test(file) && option != '-a') return; | |
| console.log(file); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment