This package has been deprecated

Author message:

deprecated

log-script-cli

0.0.0 • Public • Published

Features

  • run and log script
  • store stdout/stderr, execution time and environment variables
  • customizable path

Usage

usage: log-script script [args ...]

How it works

~/.log/stdout/script/date-tag/pid.log           stdout/stderr
~/.log/stdout/script/date-tag/pid.log.env       environment variables
~/.log/stdout/script/date-tag/pid.log.time      execution time

path customizable with log-script-helper

Examples

$ log-script path/to/script.sh
~/.log/stdout/~/git/path/to/script.sh/2018-05-29/23-20-00/62968.log

customize log path with log-script-helper

usage: log-script-helper exit_with script [args ...]
export PATH=~/.bin:$PATH
~/.bin/log-script-helper

Readme

Keywords

Package Sidebar

Install

npm i log-script-cli

Weekly Downloads

1

Version

0.0.0

License

BSD-3-Clause

Unpacked Size

2.53 kB

Total Files

4

Last publish

Collaborators

  • russianidiot
  • andrewp-as-is