Skip to content

Commit

Permalink
docs: update docs with PTerm-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PTermCI committed Jul 31, 2022
1 parent 2512951 commit 8e55347
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 30 deletions.
5 changes: 5 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ curl -sSL instl.sh/fzdwx/get/linux | bash

示例: `get mc 我的天空`

Flag:

1. `-k` 使用酷我(默认)
2. `-w` 使用网易云

![screen](https://user-images.githubusercontent.com/65269574/181920199-14fe4227-e522-4d9a-a1bb-afb3adcecfe8.gif)

## Git相关命令
Expand Down
36 changes: 6 additions & 30 deletions docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ get time --live
|-------|-----|
|`get clone`|这是一个克隆项目的子命令,目前只支持克隆github项目.|
|`get completion`|Generate the autocompletion script for the specified shell|
|`get date`|Prints the current date.|
|`get help`|Help about any command|
|`get msc`|下载音乐.|
|`get time`|Prints the current time|
# ... clone
`get clone`

Expand Down Expand Up @@ -205,18 +203,6 @@ You will need to start a new shell for this setup to take effect.
|Flag|Usage|
|----|-----|
|`--no-descriptions`|disable completion descriptions|
# ... date
`get date`

## Usage
> Prints the current date.
get date

## Flags
|Flag|Usage|
|----|-----|
|`-f, --format string`|specify a custom date format (default "02 Jan 06")|
# ... help
`get help`

Expand All @@ -242,32 +228,22 @@ get msc [song name]
## Description

```
这是一个下载音乐的子命令,目前只支持网易云平台.
这是一个下载音乐的子命令,目前只支持酷我以及网易云平台,默认使用酷我.
```
## Examples

```bash
get mc 不能说的秘密
get msc 我的天空
```
# ... time
`get time`

## Usage
> Prints the current time
get time

## Description

```
You can print a live clock with the '--live' flag!
get msc 我的天空
get msc 平凡之路 -w # 使用网易云
get msc 七里香 -k # 酷我
```

## Flags
|Flag|Usage|
|----|-----|
|`-l, --live`|live output|
|`-k, --kuwo`|[默认]使用酷我平台下载音乐 (default true)|
|`-w, --neteasy`|使用网易云平台下载音乐|


---
Expand Down

0 comments on commit 8e55347

Please sign in to comment.