Skip to content

Support for a single transform #47

@caseywatts

Description

@caseywatts

I'd love to be able to use codemod-cli without restructuring my project into the multiple-transforms format.

I made a codemod recently, and it only has one transform. codemod-cli has a lot of features I really want to use, but I set the project up before discovering codemod-cli. At that point it was hard to switch over to the filesystem structure that codemod-cli expects. It also feels "wrong" to restructure folders to be nested to make room for multiple transforms when I know this project was never going to have more than one.

This would help with migration path to adopting codemod-cli for existing codemods. It might also help with on-boarding, if the single transform setup ends up with less to wrap your head around.

@rwjblue and I were talking about this on Twitter some :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions