Skip to content

Commit

Permalink
feat: Print archives progress (#184)
Browse files Browse the repository at this point in the history
* feat: Print archives progress

* Remove unused pkg init

* fix color

* add override

* revert

* Display archives only in refresh command

* Add comment

* Changelog

* reorder

* fix indentation
  • Loading branch information
jcs090218 authored Sep 3, 2023
1 parent c76bca1 commit 57d2e98
Show file tree
Hide file tree
Showing 7 changed files with 205 additions and 109 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
* Add aliases for `pkg-file` command (0d35d762a12bd399657c2fdcb60541dcc0c8b5e0)
* Add option to init from `Keg`-file (#182)
* Add option to init from elisp source file (#183)
* Print archives progress (#184)

## 0.8.x
> Released Mar 08, 2023
Expand Down
19 changes: 18 additions & 1 deletion docs/content/en/Development-API/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ Define each log level color.

## 🔍 Macro: eask-with-verbosity (`symbol` &rest `body`)

Define executions with the verbosity level.
Define verbosity scope.

```elisp
(eask-with-verbosity 'debug
Expand All @@ -676,6 +676,23 @@ Everything in the scope of this macro will be muted unless the verbosity
reaches. It will only be printed when you have specified `--verbose 4`
global option.

## 🔍 Macro: eask-with-verbosity-override (`symbol` &rest `body`)

Define override verbosity scope.

```elisp
(eask-with-verbosity 'debug
(eask-with-verbosity-override 'log
;; TODO: execution here..
)
(eask-with-verbosity-override 'info
;; TODO: execution here..
))
```

Like macro `eask-with-verbosity`; but force display messages if it wasn't able
to display.

## 🔍 Function: eask-debug (`msg` &rest `args`)

```elisp
Expand Down
18 changes: 17 additions & 1 deletion docs/content/zh-TW/Development-API/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ $ cat /.log/messages.log

## 🔍 巨集: eask-with-verbosity (`symbol` &rest `body`)

使用詳細級別定義執行
定義消息範圍

```elisp
(eask-with-verbosity 'debug
Expand All @@ -667,6 +667,22 @@ $ cat /.log/messages.log
除非冗長,否則此宏範圍內的所有內容都將被靜音。 僅當您指定 `--verbose 4` 時才會打印
全局選項。

## 🔍 巨集: eask-with-verbosity-override (`symbol` &rest `body`)

定義覆蓋消息範圍。

```elisp
(eask-with-verbosity 'debug
(eask-with-verbosity-override 'log
;; TODO: 在這裡執行..
)
(eask-with-verbosity-override 'info
;; TODO: 在這裡執行..
))
```

就像宏 `eask-with-verbosity` 一樣;但如果無法顯示則強制顯示消息。

## 🔍 函式: eask-debug (`msg` &rest `args`)

```elisp
Expand Down
Loading

0 comments on commit 57d2e98

Please sign in to comment.