The swizzle CLI should prompt for TS usage #9402
Labels
apprentice
Issues that are good candidates to be handled by a Docusaurus apprentice / trainee
proposal
This issue is a proposal, usually non-trivial change
Have you read the Contributing Guidelines on issues?
Motivation
When using the swizzle CLI, we can get TypeScript copies of the theme files, but this requires to provide the
--typescript
option ahead of time.yarn workspace website swizzle // will always copy JS files yarn workspace website swizzle --typescript // will copy TS files, if available
When running
yarn workspace website swizzle
, the CLI should more interactive and promp the user if they want to use TypeScript.To disable the promp, a language should be provided explicitly:
Related to #9401 (DX should be consistent)
The text was updated successfully, but these errors were encountered: