Python realizes the small speed checking tool under shell

Source: Internet
Author: User

Blog migrated, new address opened

==========================

Recently busy other, look back to find one months did not send Bowen, slowly, this two months to the first article

-------------------------------------------


Requirements: Recently always have to turn the configuration document/wiki/history/note/google and so on, just to get a server address, or a password, or a complex point commonly used but lazy to play the command, the number of times more oneself also vexed, inefficient time consuming, can not hurt


Modify: The use of things, remember things, write to the text configuration, under the shell through a command + keyword, seconds kill get what you want


Implementation method:

1. Configuration file Format: Yaml

Configure keywords, multiline content, read, very handy with Python


2. Index file cheatsheet.py

It's a simple deal.


3. One-click installation files install.sh

Installation


After implementation:



No nonsense, on code, project address: Https://github.com/wklken/cmdcheatsheet


Follow-up improvements:

1. Fuzzy matching

2. Read the index rather than each time the index is built

3. A more friendly way of prompting

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.