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

Node CLI Example #112

Merged
merged 1 commit into from
Feb 22, 2018
Merged

Node CLI Example #112

merged 1 commit into from
Feb 22, 2018

Conversation

dbouwman
Copy link
Member

Demo that shows how to use arcgis-rest-js in a node cli application.

Provides two simple example commands - search items, and export an item to file.

Open to any other ideas / comments / zomg-you-did-wat?!!?

@dbouwman dbouwman requested a review from jgravois February 11, 2018 20:59
@coveralls
Copy link

coveralls commented Feb 11, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 50c879c on demo/node-cli-commands into 8a596be on master.

Copy link
Contributor

@jgravois jgravois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm into it 🐳

i'm probably missing something simple, but the only way i could get this running was like this

./ago.js search water

did you do some magic locally to make ago a valid command like adding a "bin" property to the package.json?

@dbouwman
Copy link
Member Author

Yeah @jgravois - tbh - I've not actually got that working... but just read a thing... and will update this

@dbouwman
Copy link
Member Author

@jgravois updated it with a bin entry and more noted in the README,

@jgravois jgravois force-pushed the demo/node-cli-commands branch from 4b7e099 to 50c879c Compare February 22, 2018 22:00
@jgravois
Copy link
Contributor

renamed demo directory ago-node-cli and rebased.

@jgravois jgravois merged commit 8c428f2 into master Feb 22, 2018
@jgravois jgravois deleted the demo/node-cli-commands branch February 22, 2018 22:14
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.

3 participants