Metadata-Version: 2.3
Name: dogcrud
Version: 1.13.0
Summary: Datadog CRUD resources from the command line.
Keywords: datadog,cli
Author: Doug Richardson
Author-email: Doug Richardson <git@rekt.email>
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: System :: Monitoring
Requires-Dist: aiofiles>=24.1.0
Requires-Dist: aiohttp[speedups]>=3.11.11
Requires-Dist: click>=8.1.8
Requires-Dist: orjson>=3.11.1
Requires-Dist: pydantic>=2.12.0
Requires-Python: >=3.12
Project-URL: Documentation, https://github.com/drichardson/dogcrud
Project-URL: Issues, https://github.com/drichardson/dogcrud/issues
Project-URL: Source, https://github.com/drichardson/dogcrud.git
Description-Content-Type: text/markdown

# dogcrud

`dogcrud` is a command line tool for working with Datadog CRUD resources, like
dashboards, monitors, and log pipelines.

[![CI - Test](https://github.com/drichardson/dogcrud/actions/workflows/ci.yaml/badge.svg)](https://github.com/drichardson/dogcrud/actions/workflows/ci.yaml)
[![PyPI - Version](https://img.shields.io/pypi/v/dogcrud.svg)](https://pypi.org/project/dogcrud)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dogcrud.svg)](https://pypi.org/project/dogcrud)


## Installation

The recommended installation is to use [uv](https://docs.astral.sh/uv/guides/tools/), a tool
for installing Python based command line tools like `dogcrud`.

```console
uv tool install dogcrud
```


# Usage

Save all Datadog sources supported by `dogcrud`:

```console
dogcrud save all
```

Run `dogcrud` to see how to restore and open saved JSON files.

# Shell Completion

`dogcrud` supports command line completion.

For `bash`, add this to `~/.bashrc`:

```bash
eval "$(_DOGCRUD_COMPLETE=bash_source dogcrud)"
```

For `zsh`, add this to `~/.zshrc`:

```zsh
eval "$(_DOGCRUD_COMPLETE=zsh_source dogcrud)"
```

For `fish`, add this to `~/.config/fish/completions/dogcrud.fish`:

```fish
_DOGCRUD_COMPLETE=fish_source dogcrud | source
```
