1.0.2 • Published 10 years ago

app-butcher v1.0.2

Weekly downloads
3
License
-
Repository
github
Last release
10 years ago

#app-butcher ##Project cleaner

Known Vulnerabilities bitHound Overall Score bitHound Dependencies bitHound Code bitHound Dev Dependencies

###Install

sudo npm install -g app-butcher

###Create app-butcher.conf config file inside project main dir:

remove file.js
remove dir.file.js
clean file2.js
filter file3.js 2 remove_me
rmdir dir-path

###or create config file like config.json:

{
	"projectPath": "/home/{userName}/testProject",
	"steps": [
		{
			"type": "remove",
			"paths": [
				{ "path": "file.js" },
				{ "path": "dir/file.js" }
			]
		}, {
			"type": "clean",
			"paths": [
				{ "path": "file2.js" }
			]
		}, {
			"type": "filter",
			"paths": [
				{ "path": "file3.js", "lines": 2, "match": "remove_me" }
			]
		}, {
			"type": "rmdir",
			"paths": [
				{ "path": "dir-path" }
			]
		}
	]
}

###Run

appbutcher -p /my-project-dir-path

or

appbutcher -f ~/config.json

###Steps

  • remove - Remove files
  • clean - Set empty file content
  • filter - Remove number of lines from file
  • rmdir - Remove directory recursively
1.0.2

10 years ago

1.0.1

10 years ago

0.2.1

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago