Skip to content

Commit

Permalink
Preview / verification
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Sep 13, 2024
1 parent 499ac89 commit 11e8375
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ yargs(process.argv.slice(2))
.scriptName('release')
.command(
'prepare',
`Edits the package.json and changelog files to prepare for release.`,
`Edits the package.json and changelog files to prepare for release. This generates the .release-plan.json file.`,
(yargs) =>
fromStdin(yargs).option('singlePackage', {
type: 'string',
Expand All @@ -31,6 +31,12 @@ yargs(process.argv.slice(2))
process.stdout.write(`\nSuccessfully prepared released\n`);
},
)
.command(
'apply-release-plan',
'Applies the .release-plan.json file across your repo. This behavior is included in prepare, but this command is useful when manually editing the .release-plan, and you want to update the package.jsons and CHANGELOG.',
(yargs) => {},

Check failure on line 37 in src/cli.ts

View workflow job for this annotation

GitHub Actions / Lint

'yargs' is declared but its value is never read.

Check failure on line 37 in src/cli.ts

View workflow job for this annotation

GitHub Actions / Test

'yargs' is declared but its value is never read.
async function (opts) {},

Check failure on line 38 in src/cli.ts

View workflow job for this annotation

GitHub Actions / Lint

'opts' is declared but its value is never read.

Check failure on line 38 in src/cli.ts

View workflow job for this annotation

GitHub Actions / Test

'opts' is declared but its value is never read.
)
.command(
'publish',
`Publishes an already-prepared released by tagging, pushing tags, creating GitHub release, and publishing to NPM.`,
Expand Down

0 comments on commit 11e8375

Please sign in to comment.