Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

knao

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knao

Place output of your previous command into the clipboard.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Knao

Travis (.org)

Place output of your previous command into the clipboard.

Preview

Installation

npm install -g knao

Get started

  1. Install Knao globally with npm or yarn.
  2. Use knao config to configure your Unix shell, only support bash, zsh, and fish.
  3. Run knao after executing some commands.

That's all! If there is no error, previous command output has been copied to clipboard.

Note: you should execute knao config when your Unix shell is changed.

Why

Some times, we need output of shell to share with other people or search on the Internet(Google, StackOverflow, GitHub and etc). You can use mouse Of course, but that way is slow and easy to make mistakes. With the help of Knao, I improve the efficiency of debugging and coding.

How it works

To be honest, Knao is very simple. It will detect your bash history file and find your previous command, then re-execute command, finally copy output of the command to clipboard via pipe operator(|). For the above reasons, Knao is not suitable for recording complex and asynchronous (interactive) command.

License

MIT

Keywords

FAQs

Package last updated on 09 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc