Created
November 3, 2022 20:51
-
-
Save tayiorbeii/7a90d4ae22851fcf84b099d10251f16f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import "@johnlindquist/kit" | |
| const _ = await npm('lodash') | |
| // Name: checklist based on filename | |
| // Description: generate a checklist based on the filename | |
| let files = await drop() | |
| let names = files.map(file => file.name.replace(/\.[^/.]+$/, "")) | |
| await copy(_.uniq(names).join('\n')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment