1.0.0 • Published 5 years ago

kata-scripts v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

kata-scripts

What

This is just a package for me to start putting useful scripts for doing katas in. It does come with a cli.

Using the cli

In package.json :

  scripts : {
    "kata" : "kata-scripts"
  }

To setup the configs for it, in package.json:

  "config" : {
    "kata" : {
      "exec_area_path" : " the path to where the practise is done ",
      "resources_path" : " the path to where the resource files are kept",
    }
  }

Commands

  npm run kata setup 

runs the setup script.

  npm run kata cleanup 

runs the cleanup script.

Why and the future

This is just a super simple skeleton, just to let me have something to play with. In the future, the scripts will tie into a bigger project, and be much more useful. However, at the moment, they're nothing more than a convoluted way of doing cp and rm -rf