Metadata-Version: 2.4
Name: dogcrud
Version: 1.6.0
Summary: Datadog CRUD resources from the command line.
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
Author-email: Doug Richardson <git@rekt.email>
License-File: LICENSE.txt
Keywords: cli,datadog
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: System :: Monitoring
Requires-Python: <3.14,>=3.12
Requires-Dist: aiofiles~=24.1.0
Requires-Dist: aiohttp[speedups]~=3.11.11
Requires-Dist: click~=8.1.8
Requires-Dist: orjson~=3.10.13
Requires-Dist: pydantic~=2.10.4
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
```
