File tree 2 files changed +35
-0
lines changed
2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 13
13
</toc-element >
14
14
<toc-element toc-title =" Commands" >
15
15
<toc-element topic =" New.md" />
16
+ <toc-element topic =" cache-clear.md" />
16
17
<toc-element topic =" check-update.md" />
17
18
<toc-element topic =" update.md" />
18
19
</toc-element >
Original file line number Diff line number Diff line change
1
+ # cache: clear
2
+
3
+ NativeCLI uses some files to cache data that does not need to be retrieved on every invocation.
4
+ Sometimes, it may be preferable to clear these caches to ensure that the latest data is used.
5
+
6
+ <tip >
7
+ This command is only available in NativeCLI version 1.0.0-rc.1 and later.
8
+ </tip >
9
+
10
+ ## Command
11
+
12
+ Syntax:
13
+
14
+ ``` shell
15
+ nativecli cache:clear [OPTIONS]
16
+ ```
17
+
18
+ ## Options
19
+
20
+ Describe what each option is used for:
21
+
22
+ -c, --cache
23
+ : Select a specific cache to clear. If not specified, all caches will be cleared.
24
+
25
+ -n, --non-interactive
26
+ : Clears the specified caches without prompting for confirmation.
27
+
28
+ ## Available Caches
29
+
30
+ A cache is only considered "available" once it has data within. If the cache doesn't yet exist, you'll receive a
31
+ message indicating that the cache is empty.
32
+
33
+ version
34
+ : The latest versions of NativeCLI and NativePHP that are available. This cache expires hourly.
You can’t perform that action at this time.
0 commit comments