gitmark 0.0.53 → 0.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/git-mark +5 -0
  2. package/package.json +1 -1
package/bin/git-mark CHANGED
@@ -102,6 +102,11 @@ const commits = gitlog(options)
102
102
  var head = commits[0].hash
103
103
  console.log('current head', head)
104
104
 
105
+ if (argv._[0] === 'init') {
106
+ console.log($('./bin/git-mark-init').toString())
107
+ process.exit(0)
108
+ }
109
+
105
110
  data.privkey = argv._[0] || secret || getPrivKey() || data.privkey
106
111
  data.hash = argv._[1] || head || data.hash
107
112
  data.genesis = argv.genesis || data.genesis
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gitmark",
3
- "version": "0.0.53",
3
+ "version": "0.0.54",
4
4
  "description": "gitmark",
5
5
  "main": "index.js",
6
6
  "scripts": {