Skip to content

Instantly share code, notes, and snippets.

@tayiorbeii
Created November 9, 2022 20:53
Show Gist options
  • Save tayiorbeii/bbe95c3f5d72efda1349db0d6f875c73 to your computer and use it in GitHub Desktop.
Save tayiorbeii/bbe95c3f5d72efda1349db0d6f875c73 to your computer and use it in GitHub Desktop.
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