mirror of
https://github.com/nsnail/dot.git
synced 2025-06-19 22:08:16 +08:00
<doc>
This commit is contained in:
100
README.md
100
README.md
@ -1,20 +1,88 @@
|
||||
# dot
|
||||
|
||||
[中](README.zh-CN.md) | **En**
|
||||
Cross-platform, all-around utility set with a beautiful character interface-the Swiss Army knife
|
||||
|
||||
A full-featured utility - the programmer's swiss army knife
|
||||
### Brief introduction
|
||||
|
||||
```mermaid
|
||||
graph LR;
|
||||
dot-v1.1.5-->File-newline-character-conversion-tool
|
||||
dot-v1.1.5-->NTP-clock-synchronization-tool
|
||||
dot-v1.1.5-->Various-text-codec-tools
|
||||
dot-v1.1.5-->Remove-the-file-UTF-BOM
|
||||
dot-v1.1.5-->Remove-the-blank-of-the-file
|
||||
dot-v1.1.5-->Random-password-generator
|
||||
dot-v1.1.5-->Json-utility
|
||||
dot-v1.1.5-->Ip-utility-tool
|
||||
dot-v1.1.5-->GUID-generator
|
||||
dot-v1.1.5-->Git-command-bulk-executor
|
||||
dot-v1.1.5-->Screen-coordinates-and-pixel-picker
|
||||
```
|
||||
The dot is the one based on the one. NET 7, a cross-platform command-line tool, integrates more than 10 utilities that program developers often use in their daily work, and is constantly increasing.
|
||||
|
||||
```
|
||||
USAGE:
|
||||
dot [OPTIONS] <COMMAND>
|
||||
|
||||
OPTIONS:
|
||||
-h, --help Prints help information
|
||||
-v, --version Prints version information
|
||||
|
||||
COMMANDS:
|
||||
git Git batch operation tool
|
||||
color Screen coordinate color selection tool
|
||||
guid GUID tool
|
||||
ip IP tools
|
||||
json Json tool
|
||||
pwd <password length> <generate type> Random password generator
|
||||
rbom Remove the uf8 bom of the file
|
||||
trim Remove line breaks and spaces at the end of the file
|
||||
text Text encoding tool
|
||||
time Time synchronization tool
|
||||
tolf Convert newline characters to LF
|
||||
get <url> Multithreaded download tool
|
||||
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Some functional examples
|
||||
|
||||
- ##### Git batch management
|
||||
|
||||
When you have a clone and a lot of git repositories, use this command to pull their latest code all at once:
|
||||
|
||||
```
|
||||
dot git -a "pull" d:\repos
|
||||
```
|
||||
|
||||

|
||||
|
||||
Similarly, you can execute any git commands on a bunch of git repositories in bulk:
|
||||
|
||||
```
|
||||
dot git -a "config --get http.proxy" d:\repos
|
||||
```
|
||||
|
||||

|
||||
|
||||
- ##### High-precision time-clock synchronization
|
||||
Supports parallel requests from multiple NTP clock servers, while removing the network communication duration to set the precise synchronization of the native clocks with the NTP standard time:
|
||||
```
|
||||
dot time -k
|
||||
```
|
||||
|
||||

|
||||
|
||||
- ##### Text codec
|
||||
Copy you need to view various codec text in the clipboard, and then enter the following command to view
|
||||
```
|
||||
dot text
|
||||
```
|
||||
|
||||

|
||||
|
||||
|
||||
- ##### Multi-threading download tool
|
||||
Support setting the block size, number of threads to replace the single thread wget tool:
|
||||
```
|
||||
dot get https://github.com/nsnail/dot/releases/download/v1.1.1/dot-v1.1.1-win-x64.7z
|
||||
```
|
||||
|
||||

|
||||
|
||||
|
||||
- ##### Remove the blank at the end of the file
|
||||
Remove excess spaces and line breaks in the tail of all files in the specified directory:
|
||||
```
|
||||
dot trim d:\repos
|
||||
```
|
||||
|
||||

|
Reference in New Issue
Block a user