doc-history
v1.0.3
Published
copies a cleaned up version of your previous commands to the clipboard to use in making documentation easier
Downloads
17
Maintainers
Readme
doc-history
copies a cleaned up version of your previous commands to the clipboard to use in making documentation easier
Install & run
Npm
npm install --global doc-history
Usage:
doc-history -n 10
How it works
what i would do before doc-history
>history
1794 code docker-compse.yml
1795 mv docker-compse.yml docker-compose.yml
1796 docker-compose up -d
1797 code docker-compose.yml
1798 docker-compose up -d
1799 docker ps
1800 docker ps -f
1801 docker ps -t
1802 docker ps
1803 docker ps -t
1804 docker ps
1805 docker-compose logs
1806 code .env
1807 docker-compose up
1808 docker-compose up -d
1809 docker-compose logs -f
1810 docker-compose up -d
remove duplicates
>history
1797 code docker-compose.yml
1806 code .env
1807 docker-compose up
1808 docker-compose up -d
1809 docker-compose logs -f
delete line numbers
>history
code docker-compose.yml
code .env
docker-compose up
docker-compose up -d
docker-compose logs -f
copy paste into my github markdown page and add markdown styling
```bash
code docker-compose.yml
code .env
docker-compose up
docker-compose up -d
docker-compose logs -f```
doc-history Improves this workflow
doc-history -n 10
This is copied to your clipboard!
now Paste this into markdown doc!
#
```bash
code docker-compose.yml
code .env
docker-compose up
docker-compose up -d
docker-compose logs -f```
Development
how to publish docker image to docker hub
git clone https://github.com/wisehackermonkey/doc-history.git
cd doc-history
how to build
npm install --global .
remove locally
npm uninstall --global doc-history
list install global deps
npm ls -g --depth=0
how to publish package
npm login
npm version minor
OR
npm version patch
npm publish
npm uninstall --global doc-history
npm install --global doc-history
Future Additions
- Fuzzy matching EX:
these get remove
powershell.exe /version
powershell.exe \version
- wizard that asks about to pick which ones you want to keep
Contributors
Made with contributors-img.