Skip to content
Browse files

Adding config storage.

  • Loading branch information...
1 parent 487d94d commit 210d6fbf152b05d8c9dc579d951a67b1d1edf86f @vesln committed
Showing with 23 additions and 0 deletions.
  1. +23 −0 lib/conf.js
View
23 lib/conf.js
@@ -0,0 +1,23 @@
+/*!
+ * GitHub Issues from the CLI.
+ *
+ * Veselin Todorov <hi@vesln.com>
+ * MIT License.
+ */
+
+/**
+ * Dependencies.
+ */
+var path = require('path');
+
+/**
+ * Path to config file.
+ *
+ * @param {String}
+ */
+var conf = path.dirname(__dirname) + '/data/config.json';
+
+/**
+ * Exposing `conf`.
+ */
+module.exports = require('nconf').file({ file: conf });

0 comments on commit 210d6fb

Please sign in to comment.
Something went wrong with that request. Please try again.