+2
-2
| { | ||
| "name": "ashtin", | ||
| "version": "0.0.1", | ||
| "version": "0.0.2", | ||
| "description": "ArchivesSpace Hacker's Toolkit (in Node).", | ||
@@ -18,3 +18,3 @@ "repository": "https://github.com/quoideneuf/ashtin", | ||
| "ansi": "^0.3.0", | ||
| "asapi": "0.1.2", | ||
| "asapi": "^0.1.3", | ||
| "cli-table": "^0.3.1", | ||
@@ -21,0 +21,0 @@ "events": "^1.0.2", |
+6
-3
@@ -38,5 +38,5 @@ ArchivesSpace Hacker's Toolkit (in Node) | ||
| $ npm install ashtin --save | ||
| $ touch index.js | ||
| $ touch create-repo.js | ||
| This would be the body of your index.js file: | ||
| This would be the body of your create-repo.js file: | ||
@@ -62,5 +62,8 @@ | ||
| And you would run it like this: | ||
| Your script needs to export a single function with 'injected' arguments. There are currently two available arguments for injection: | ||
| ashtin run-script create-repo.js | ||
| Your script must to export a single function with 'injected' arguments. There are currently two available arguments for injection: | ||
| * 'api' - [an AS client](https://www.npmjs.com/package/asapi) | ||
@@ -67,0 +70,0 @@ * 'generator' - some simple record generators |
Sorry, the diff of this file is not supported yet
29867503
0.01%75
4.17%+ Added
- Removed
Updated