commit
5e42af488b
@ -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…
Reference in new issue