1.0.2 • Published 8 years ago

app-butcher v1.0.2

Weekly downloads
3
License
-
Repository
github
Last release
8 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

8 years ago

1.0.1

8 years ago

0.2.1

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago