Comments (5)
If you do an ad-hoc add of what you're mentioning does it work?
from node-zendesk.
I've tried moving the nconf requirement to the top of the file, but still have no success. I'm thinking that maybe this is a shortcoming of nconf, and I've submitted an issue: indexzero/nconf#142.
That being said, I'm wondering if nconf is really necessary in packages such as this one, where it will often be required as a dependency in other projects. I don't understand the use case where environment variables and command line arguments would be useful. The inputs required for this library are very straight forward, and passing them in from the command line or as environment variables is the responsibility of the user, not the library, IMO.
If I submitted a PR to rip out nconf and the env() and argv() features it provides, would you be open to merging it?
from node-zendesk.
Short answer, yes I would be open to this.
I've been mulling over this for a while now, there are still some executing
scripts directly from command line with the library as is.
I've been at a loss for how to make this just a library, yet also provide a
easy way for others to continue using it as originally designed. Perhaps
converting it to a pure library while providing a section in the readme as
how to do this simply will suffice (as this is more a library anyways, and
I agree this is something tthe integrator should be responsible for--
because if we were to split that feature out it'd be nothing but a
commandline env var wrapper).
Farrin A. Reid
http://www.linkedin.com/in/farrinreid
from node-zendesk.
Ya I think you could convert this to solely a library, and create a new repository for a node-zendesk CLI.
I'll work on removing nconf.
from node-zendesk.
@leore @mgartner I just made a change that should fix this issue #60 , please verify once i get the new version out the lines added are https://github.com/blakmatrix/node-zendesk/blob/master/lib/client.js#L22 and https://github.com/blakmatrix/node-zendesk/blob/master/lib/client.js#L47 , feel free to open if either of you think it needs to be reopened.
from node-zendesk.
Related Issues (20)
- Migrate request to native fetch / node-fetch / axios? HOT 10
- What changed in version 3.0.0? HOT 2
- Possibly get betamax wiremocks up and running here. HOT 2
- Migrate HC APIS not listed in previous issue to CBP HOT 1
- nconf don't work HOT 1
- Please migrate off of the request library to address tough-cookie CVE HOT 2
- Apps
- jobStatuses.watch probably needs some love
- Release `fetch` changes HOT 5
- Update Documentation
- fetch is not defined HOT 2
- 404 calling createMany for Organization Memberships
- OrganizationMemberships deleteMany does not work as implemented. HOT 1
- TLC Tickets class
- TLC Users.js
- OAuth doesn't work HOT 1
- version 5.0.2 return Zendesk error 401 while 3.0.3 is ok HOT 2
- OAuth doesn't work HOT 2
- how to set the request rate, meet 204 code when enable throttle in createClient option
- Mismatched types HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-zendesk.