Skip to content

🚀 Feature: Add verbose logging #708

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Overview

Now that I simplified the CLI output (#681, #695), running npx template-typescript-node-package sometimes appears to be "stuck" on Migrating repository structure... or other long commands. It'd be nice to have a way to ask for more logging.

https://npmjs.com/package/debug is a popular way to do this. We use it in typescript-eslint. I'll use it here. I don't like how this would necessitate redoing a bunch of the CLI outputs. I'll trim this task down a bit to just add more logs when a --verbose flag is passed.

Additional Info

No response

Metadata

Metadata

Labels

status: accepting prsPlease, send a pull request to resolve this!type: featureNew enhancement or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions