Skip to content

Commit 9ffe982

Browse files
committed
update docs
1 parent ad9aea6 commit 9ffe982

File tree

1 file changed

+33
-8
lines changed

1 file changed

+33
-8
lines changed

README.md

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@ Official CLI for [Depot](https://depot.dev) - you can use the CLI to build Docke
1010
1111
---
1212

13-
- [Installation](#installation)
14-
- [Quick Start](#quick-start)
15-
- [Usage](#usage)
16-
- [`depot build`](#depot-build)
17-
- [`depot init`](#depot-init)
18-
- [`depot login`](#depot-login)
19-
- [Contributing](#contributing)
20-
- [License](#license)
13+
- [Depot CLI ](#depot-cli-)
14+
- [Installation](#installation)
15+
- [Quick Start](#quick-start)
16+
- [Usage](#usage)
17+
- [`depot build`](#depot-build)
18+
- [`depot cache`](#depot-cache)
19+
- [`depot cache reset`](#depot-cache-reset)
20+
- [`depot init`](#depot-init)
21+
- [`depot login`](#depot-login)
22+
- [Contributing](#contributing)
23+
- [License](#license)
2124

2225
## Installation
2326

@@ -69,6 +72,28 @@ depot build -t repo/image:tag . --load
6972
depot build -t repo/image:tag . --push
7073
```
7174

75+
### `depot cache`
76+
77+
Interact with the cache associated with a Depot project. The `cache` command consists of subcommands for each operation.
78+
79+
#### `depot cache reset`
80+
81+
Reset the cache of the Depot project to force a new empty cache volume to be created.
82+
83+
**Example**
84+
85+
Reset the cache of the current project ID in the root `depot.json`
86+
87+
```
88+
depot cache reset .
89+
```
90+
91+
Reset the cache of a specific project ID
92+
93+
```
94+
depot cache reset --project 12345678910
95+
```
96+
7297
### `depot init`
7398

7499
Initialize an existing Depot project in the current directory. The CLI will display an interactive list of your Depot projects for you to choose from, then write a `depot.json` file in the current directory with the contents `{"projectID": "xxxxxxxxxx"}`.

0 commit comments

Comments
 (0)