Skip to content

Commit 2f20124

Browse files
committed
added some logik
1 parent 95fe0d4 commit 2f20124

File tree

4 files changed

+268
-37
lines changed

4 files changed

+268
-37
lines changed

package-lock.json

Lines changed: 226 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "r2g",
3-
"version": "0.1.199",
3+
"version": "0.2.011",
44
"description": "Semver-oriented TypeScript library skeleton.",
55
"main": "dist/index.js",
66
"bin": {

src/commands/publish/cli-options.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ export default [
1717
type: 'integer',
1818
help: 'Verbosity level, 1-3 inclusive.'
1919
},
20+
{
21+
names: ['otp'],
22+
type: 'string',
23+
help: 'Provide/pass this OTP (one-time passcode) to NPM.',
24+
default: ''
25+
},
2026
{
2127
names: ['access'],
2228
type: 'string',

0 commit comments

Comments
 (0)