Created
          November 9, 2022 20:53 
        
      - 
      
 - 
        
Save tayiorbeii/bbe95c3f5d72efda1349db0d6f875c73 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