Skip to content

Commit

Permalink
docs: add cache custom scopes recipes
Browse files Browse the repository at this point in the history
Co-authored-by: Zhengqbbb <1074059947@qq.com>
  • Loading branch information
Zhengqbbb committed Mar 22, 2023
1 parent e1fb80d commit 077c69a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/recipes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ const USER_HOME = process.env.HOME || process.env.USERPROFILE

:::

## [Advanced] cache your `custom scope`

- Cache your custom inputs scope and can be displayed next time and shown in the scope list
- Discussion and demo video: [Zhengqbbb/cz-git#104](https://github.com/Zhengqbbb/cz-git/discussions/104)
- Playground and source code: [Zhengqbbb/czgit-playground/cache-scope](https://github.com/Zhengqbbb/czgit-playground/tree/cache-scope)

<br>
<br>
<br>
Expand Down
5 changes: 5 additions & 0 deletions docs/zh/recipes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ const USER_HOME = process.env.HOME || process.env.USERPROFILE

:::

## [进阶] 缓存你的自定义范围 `custom scope`

- 缓存你输入的自定义范围并在下一次范围选择中显示使用
- Github 讨论帖与演示视频: [Zhengqbbb/cz-git#104](https://github.com/Zhengqbbb/cz-git/discussions/104)
- 示例代码: [Zhengqbbb/czgit-playground/cache-scope](https://github.com/Zhengqbbb/czgit-playground/tree/cache-scope)

<br>
<br>
Expand Down

0 comments on commit 077c69a

Please sign in to comment.