Add project bootstrap.

pull/12/head
Michał Słomkowski 9 years ago
commit 5e42af488b

7
.gitignore vendored

@ -0,0 +1,7 @@
# IntelliJ project files
.idea
*.iml
test-files

@ -0,0 +1,5 @@
# THIS PROJECT IS WORK IN PROGRESS
# nginx config file formatter
Formats *nginx* configuration files.

@ -0,0 +1,11 @@
#!/usr/bin/env python3
import argparse
argparser = argparse.ArgumentParser()
argparser.add_argument("-v", "--verbose", action="store_true", help="show formatted file names")
argparser.add_argument("-b", "--backup-original", action="store_true", help="backup original config file")
argparser.add_argument("config_file", type=argparse.FileType('r'), nargs='+')
args = argparser.parse_args()
Loading…
Cancel
Save