buildstamp
A small utility for gathering build details
Install
yarn add buildstamp
npm i buildstamp
Usage
JS/TS API
import {buildstamp} from '@qiwi/buildstamp'
await buildstamp({
output: 'buildstamp.json',
git: true,
ci: true,
date: true,
extra: {
foo: 'bar'
}
})
CLI
npx buildstamp --output='buildstamp.json' --extra='{"foo": "bar"}'
Flag | Description | Default |
---|
--output , -o | Buildstamp file destination | buildstamp.json |
--cwd | Directory to apply | process.cwd() |
--git | Collect git info | true |
--date | Attach ISO8601 date | true |
--extra | JSON mixin to inject | |
--help | Print help info | |
License
MIT