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

Allow processing stdin, file descriptors #37

Closed
wants to merge 6 commits into from
Closed

Conversation

buglloc
Copy link
Member

@buglloc buglloc commented May 12, 2017

Must resolve #32
Now Gixy can read configuration file form stdin (use - as a file path):

$ nginx -T | gixy  -
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
[nginx_parser]	INFO	Switched to parse nginx configuration dump.

==================== Results ===================
No issues found.

==================== Summary ===================
Total issues:
    Unspecified: 0
    Low: 0
    Medium: 0
    High: 0

Or file descriptor:

$ gixy <(nginx -T)
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
[nginx_parser]	INFO	Switched to parse nginx configuration dump.

==================== Results ===================
No issues found.

==================== Summary ===================
Total issues:
    Unspecified: 0
    Low: 0
    Medium: 0
    High: 0

@buglloc buglloc closed this May 13, 2017
@buglloc buglloc deleted the stdin-reader branch May 14, 2017 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow processing stdin, file descriptors
1 participant