Skip to content

Commit

Permalink
feat(cli): added basic cli support
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Dec 14, 2016
1 parent 0d06c4d commit 12b4458
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"type": "git",
"url": "git+https://github.com/dotansimha/graphql-codegen.git"
},
"bin": {
"graphql-codegen": "dist/index.js"
},
"keywords": [
"graphql",
"codegen",
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/usr/bin/env node

console.log('test');

0 comments on commit 12b4458

Please sign in to comment.