Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add format for {{index}} #24

Closed
wants to merge 2 commits into from
Closed

Add format for {{index}} #24

wants to merge 2 commits into from

Conversation

Kerruba
Copy link

@Kerruba Kerruba commented May 15, 2017

This pull request add the possibility to define a number format to use with {{index}}.
Couple of test cases have been created

@75lb
Copy link
Owner

75lb commented May 15, 2017

good patch, thanks! Useful feature, i agree it should be possible to control what {{index}} is replaced with.. will think about this for a future release.

@75lb
Copy link
Owner

75lb commented Jul 8, 2018

Renamer has been completely rewritten so I can no longer cleanly apply this patch. However, it's all implemented (using printf as in your PR) in the next version with the --index-format option.

Install the prerelease:

$ npm install -g renamer@next

@75lb 75lb closed this Jul 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants