Skip to content

Commit

Permalink
command and prompt changes
Browse files Browse the repository at this point in the history
  • Loading branch information
K1NXZ committed Oct 4, 2023
1 parent 5d5254e commit 708b756
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "envshare-cli",
"version": "1.2.2",
"version": "1.2.3",
"description": "A cli to share your environment variables with your team quickly.",
"main": "./dist/esm/index.js",
"bin": {
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ ID: ${compositeKey}
type: 'list',
name: 'kind',
message: 'What do you want to copy?',
choices: ['ID', 'Command'],
choices: ['Copy ID to share', 'Copy command to share'],
},
])

Expand All @@ -123,7 +123,7 @@ ID: ${compositeKey}
console.log(`ID "${compositeKey}" copied to clipboard`)
break
case 'Command':
const c = `npx envshare-cli fetch ${compositeKey}`
const c = `npx envshare-cli@latest fetch ${compositeKey}`
ncp.copy(c)
console.log(`Command "${c}" copied to clipboard`)
break
Expand Down

0 comments on commit 708b756

Please sign in to comment.