aws / aws/aws-sdk-js-codemod

[Feature]: Provide debug mode

Open
#482 0 comments 0 reactions 0 assignees View on GitHub
enhancement p3
Dominant language
TypeScript
Stars
89
Forks
13
Avg merge
9h 59m
Merged PRs (30d)
1

Description

### Self-service

- [ ] I'd be willing to implement this feature

### Problem

The only debugging which aws-sdk-js-codemod uses is the one provided by JSCodeShift.

There's no additional debug option available, which can provide information on what transformation was done.

### Solution

Add a CLI option (say `--debug`) to add debug mode.

### Alternatives

N/A

### Additional context

Tip from CLI best practices: https://github.com/lirantal/nodejs-cli-apps-best-practices#63-provide-debug-mode

Contributor guide

Open the contributing guide

Research direction

Start at the CLI entry point and trace how the tool invokes JSCodeShift and reports transformations. Define the debug output from the issue's requirement, then verify that invoking the new option reports what transformation was performed while normal runs remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.