Skip to content

Commit

Permalink
chore: added -o option for offline and switched to -i for install
Browse files Browse the repository at this point in the history
  • Loading branch information
MathurAditya724 committed Aug 4, 2024
1 parent 566c364 commit 36fdd32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ program
.version(version)
.arguments('[target]')
.addOption(
new Option('-y, --install', 'Install dependencies').argParser(Boolean),
new Option('-i, --install', 'Install dependencies').argParser(Boolean),
)
.addOption(
new Option('-p, --pm <pm>', 'Package manager to use').choices(
Expand All @@ -67,7 +67,7 @@ program
),
)
.addOption(
new Option('--offline', 'Use offline mode')
new Option('-o, --offline', 'Use offline mode')
.argParser(Boolean)
.default(false),
)
Expand Down

0 comments on commit 36fdd32

Please sign in to comment.