Files
threshold/website/content/docs/commands/cache/index.mdx
T
Johan Brandhorst-SatzkornandRobin Beck e64443c66f Rename daemon CLI command to cache (#4808)
* internal/cmd/wrapper: add deprecation wrapper

The deprecation wrapper can be used to display a warning to callers
when a command is deprecated.

* all: rename daemon to cache

Rename the boundary daemon command to boundary cache. This
avoids confusion with future client/daemons.

* changes daemon to cache in nav

---------

Co-authored-by: Robin Beck <stellarsquall@protonmail.ch>
2024-05-22 11:11:48 -07:00

44 lines
1.2 KiB
Plaintext

---
layout: docs
page_title: cache - Command
description: |-
Boundary's "cache" command lets you manage a local cache of information to facilitate searches and protect your system resources from being overwhelmed.
---
# cache
Command: `boundary cache`
The `cache` command lets you manage the Boundary cache and perform operations on the local cache of information.
## Example
The following command starts the Boundary cache in the background:
```shell-session
$ boundary cache start -background
```
## Usage
<CodeBlockConfig hideClipboard>
```shell-session
Usage: boundary cache <subcommand> [options] [args]
# ...
Subcommands:
add-token Add an auth token to a Boundary cache that is currently running.
start Starts the Boundary cache.
status Gets the status information of a Boundary cache that is currently running.
stop Stops the Boundary cache.
```
</CodeBlockConfig>
For more information, examples, and usage, click on the name of the subcommand in the sidebar or one of the links below:
- [add-token](/boundary/docs/commands/cache/add-token)
- [start](/boundary/docs/commands/cache/start)
- [status](/boundary/docs/commands/cache/status)
- [stop](/boundary/docs/commands/cache/stop)