![GitHub license](https://img.shields.io/github/license/lovelacelee/mirror-tools?style=plastic&logo=appveyor)
😁Every app enthusiast will have his own habits, his own obsessive-compulsive disorder, his own accumulation of 🦴gadgets.
So 'CLSMT' reduce the number of keyboard strokes in my daily work, task scripting, PA management of the goal of the small tool (command line tools) from the efficiency and habit perspective purpose.
❔ What's this?
This is a command line tool implemented in Golang, originally for the purpose of learning Golang process, fast development, some commonly used Golang command line packaging. For example, you often go mod tidy
, go mod vendor
before, may be go env proxy -u GOPROXY = https://goproxy.cn, direct
. As I became familiar with these commands, I always expected a simple command to do what a few lines of typing would do, and that's where CLSMT came in.
Before CLSMT
, I simply implemented the same thing as CLSLQ using python3. In CLSLQ, The Notion (https://www.notion.so/zh-cn) feature has been implemented to obtain near-week job records from Notion and generate a job report from a fixed template. After experiencing the pain of Python3 cross-platform single file packaging and learning the convenience of Golang, I decided to give up the functionality that CLSLQ wanted to include with Python and use Golang instead. Golang's program distribution is really very convenient.
❔ How to install it?
CLSMT
support manual upgrade function, but the first installation, you need to download from https://github.com/lovelacelee/mirror-tools/releases.
-
![Windows](https://img.shields.io/badge/Windows%20OS-000000?logo=windows&logoColor=F0F0F0)
# Download clsmt_x.x.x_windows_amd64.tar.gz
# Copy clsmt.exe into %SystemRoot%\system32
C:\Users\user>clsmt
Mirror-Tools(clsmt) is a set of personal assistant of Lovelace(https://github.com/lovelacelee),
Complete documentation is available at https://github.com/lovelacelee/mirror-tools.
Use "clsmt [command] -h/--help" or "clsmt help [command]" for more information about a command.
ARCH: windows.amd64
C:\Users\user>
-
![Linux](https://img.shields.io/badge/Linux%20OS-000000?logo=linux&logoColor=F0F0F0)
# Raspberry Pi : grep linux_arm64
$ wget `curl -sL https://api.github.com/repos/lovelacelee/mirror-tools/releases/latest | grep browser_download_url | grep linux_amd64 | cut -d '"' -f 4 `
$ tar zxf clsmt_1.0.8_linux_amd64.tar.gz
$ sudo mv clsmt /usr/local/bin/
$ clsmt version
-
![Mac](https://img.shields.io/badge/Mac%20OS-000000?logo=macos&logoColor=F0F0F0)
$ wget `curl -sL https://api.github.com/repos/lovelacelee/mirror-tools/releases/latest | grep browser_download_url | grep darwin_amd64 | cut -d '"' -f 4 `
$ tar zxf clsmt_1.0.8_darwin_amd64.tar.gz
$ mv clsmt /usr/local/bin/
$ clsmt version
💥 Supported features
🎯 Planned features
-
💚 Mirror setting
Domestic stable mirror collection,[ubuntu/centos/archlinux/nodejs/pip/yarn/npm], add proxy command implementation in different functions.
-
💚 Code generators
Referring to the ideas of Cookiecutter, templates were used to encapsulate commonly used framework codes to facilitate the rapid start of new project development.