mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-14 04:50:20 -06:00
14 lines
217 B
Python
14 lines
217 B
Python
import sys
|
|
|
|
from pre_commit import output
|
|
|
|
|
|
def main(argv=None):
|
|
argv = argv if argv is not None else sys.argv[1:]
|
|
for arg in argv:
|
|
output.write_line(arg)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
exit(main())
|