Skip to content

nonacosa/share_shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Build Status Build Status

share_shell share your shell on html

安装

  sudo npm install share_shell -g

帮助

  tw --help   #1.0暂时用这个命令,没想到好的缩写

tw --help

查看版本

tw --version || tw -v

使用

 # tw share "要展示的命令" -p "路径"
 # 例如想 docker ps -a 秀一波你的docker容器
 tw share "docker ps -a" 或 tw s "docker ps -a"  # 默认生成 share_you_shell.html 到当前目录  
 
 # 指定路径
 
 tw share "ls -all" -p /usr/local/html/share_shell.html  #自动创建文件,存在默认覆盖
  • 为什么做这个?灵感是什么?

源自 youtube 一段对话 ,感兴趣的可以关注一波

About

is a plug-in to Generate printer style's .html file to show our terminal operation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published