Skip to content

Commit b57c291

Browse files
chore: add --guide, --guide-title to migrate-test-e2e.js
1 parent c515d6e commit b57c291

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

script/migrate-test-e2e.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const title = "Create TypeScript App";
1111

1212
await $({
1313
stdio: "inherit",
14-
})`c8 -o ./coverage -r html -r lcov --src src node ./bin/index.js --base everything --mode migrate --bin ./bin/index.js --description ${description} --email-github ${emailGithub} --email-npm ${emailNpm} --guide "https://www.joshuakgoldberg.com/blog/contributing-to-a-create-typescript-app-repository" --guide-title "Contributing to a create-typescript-app Repository" --owner ${owner} --title ${title} --repository ${repository} --skip-all-contributors-api --skip-github-api --skip-install`;
14+
})`c8 -o ./coverage -r html -r lcov --src src node ./bin/index.js --base everything --mode migrate --bin ./bin/index.js --description ${description} --email-github ${emailGithub} --email-npm ${emailNpm} --guide https://www.joshuakgoldberg.com/blog/contributing-to-a-create-typescript-app-repository --guide-title "Contributing to a create-typescript-app Repository" --owner ${owner} --title ${title} --repository ${repository} --skip-all-contributors-api --skip-github-api --skip-install`;
1515

1616
const { stdout: gitStatus } = await $`git status`;
1717
console.log(`Stdout from running \`git status\`:\n${gitStatus}`);

src/shared/options/readOptions.ts

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export async function readOptions(
8585
excludeTests: values["unit-tests"],
8686
funding: values.funding,
8787
guide: values.guide,
88+
guideTitle: values["guide-title"],
8889
logo: values.logo,
8990
offline: values.offline,
9091
owner: values.owner,

0 commit comments

Comments
 (0)