1.14.0 • Published 2 years ago
redput v1.14.0
RedPut

CLI tool to download source of a rule and fixtures from 🐊Putout Editor and generate tests from it.
Install
npm i redput -gUsage
GITHUB_TOKEN=github-token redput [putout-editor-url]redput determines where it located and does one of next things:
- if it finds
index.js- creates rule inside nested plugin; - creates directory with a plugin name and fills directories
lib,testandfixture;
example of input:
// ["off", "write-all-files"]
export const report = () => `Write all files`;
export const fix = (file) => {
const content = readFileContent(file);
writeFileContent(file, content);
};
export const scan = (root, {push}) => {
findFile(root, ['*']).map(push);
};When you get your rule downloaded, use:
UPDATE=1 npm fix:lint testto finish preparations of new rule and tests.
License
MIT
2.7.0
12 months ago
2.6.0
12 months ago
2.9.0
10 months ago
2.8.0
11 months ago
2.7.1
11 months ago
2.5.0
1 year ago
2.4.1
2 years ago
2.4.0
2 years ago
2.5.1
1 year ago
2.3.0
2 years ago
2.2.2
2 years ago
2.2.1
2 years ago
2.2.0
2 years ago
2.1.0
2 years ago
2.0.1
2 years ago
2.0.0
2 years ago
1.15.0
2 years ago
1.14.0
2 years ago
1.13.0
2 years ago
1.12.0
2 years ago
1.15.1
2 years ago
1.11.0
2 years ago
1.10.1
2 years ago
1.10.0
2 years ago
1.9.0
2 years ago
1.8.0
2 years ago
1.7.0
2 years ago
1.6.0
2 years ago
1.5.1
2 years ago
1.5.0
2 years ago
1.4.0
2 years ago
1.3.0
2 years ago
1.2.1
2 years ago
1.2.0
2 years ago
1.1.0
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago