@putout/cli-staged

1.1.0 • Public • Published

@putout/cli-staged NPM version

🐊Putout get list of staged by git files.

Install

npm i @putout/cli-staged

Examples

import {
    get,
    set,
} from '@putout/cli-staged';
import {findUp} from 'find-up';
import tryToCatch from 'try-to-catch';

const [error, names] = await tryToCatch(get, {
    findUp,
    isSupported: Boolean,
});

const stagedNames = await set({
    findUp,
});

License

MIT

Package Sidebar

Install

npm i @putout/cli-staged

Weekly Downloads

3,281

Version

1.1.0

License

MIT

Unpacked Size

4.53 kB

Total Files

4

Last publish

Collaborators

  • coderaiser