Skip to content

JonRC/save-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

save-log 📄✏️

save-log is a CLI to save a command log as text and show it in the terminal as usual.

The log file is written in real-time.

Install

$ npm install save-log -g

Usage

$ save-log <command> -- <command args>

In the current directory, it will create a file named command_isoDate.txt where the log will be written in real-time.

Flags

Flag alias Description
--path -p Specify a path or file to save log

Example:

$ save-log ls

$ save-log ls -p test.txt -- -la

Disclaimer

save-log works for all commands except for some CLIs which need complex user interaction.

For example, it works for sudo su but not for npm init.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published