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

Add support for btool for conf file validation #1

Open
shakeelmohamed opened this issue Sep 25, 2015 · 2 comments
Open

Add support for btool for conf file validation #1

shakeelmohamed opened this issue Sep 25, 2015 · 2 comments

Comments

@shakeelmohamed
Copy link
Owner

See http://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/Usebtooltotroubleshootconfigurations

@shakeelmohamed
Copy link
Owner Author

I've started work on the feature/btool branch. The big pain right now is not being able to access the $SPLUNK_HOME environment variable. Needs a lot of work to make sure it works on Windows, Linux & ST2.

So far, this is heavily based off of the jshint package: https://github.com/uipoet/sublime-jshint

@shakeelmohamed
Copy link
Owner Author

Another idea to consider: invoke the user's default shell, defined as $shell, then run env to see if $SPLUNK_HOME is there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant