ResolverAthena.CliClient 1.0.0

dotnet tool install --global ResolverAthena.CliClient --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local ResolverAthena.CliClient --version 1.0.0
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ResolverAthena.CliClient&version=1.0.0
                    
nuke :add-package ResolverAthena.CliClient --version 1.0.0
                    

Athena Client Library

This is a dotnet library for interacting with the Athena API (Resolver Unknown CSAM Detection).

Documentation can be found here.

Runnable Examples

You can find runnable examples in the examples directory of this repository.

Many examples make use of .env files to manage configuration. You can create a .env file in the root of the repository to set environment variables for the examples. Files beginning .env are configured to be ignored by git, to avoid accidentally committing sensitive information. Each example will describe any required configuration or command line arguments.

Resolver.Athena.CliClient

This example is a simple dotnet console application that can:

  • Test OAuth credentials to ensure token acquisition is working
  • Can perform a synchronous classification of a single image.

To get started, run the following dotnet command:

dotnet run --project examples/Resolver.Athena.CliClient -- --help

Development

This package is built with .NET 9.0. You can use the .NET CLI to build and test the library.

Basic Commands

To build the project, run:

dotnet build

To run tests, use:

dotnet test

To format the code, run:

dotnet format

Pre-Commit Hooks

This project uses pre-commit to manage pre-commit hooks.

Installation documentation can be found here.

To install the pre-commit hooks, run:

pre-commit install

These hooks will run automatically before each commit to ensure code quality and consistency.

If you want to run them manually, you can use:

pre-commit run

Building the documentation

First, ensure you have DocFX installed. You can install it via dotnet:

dotnet tool install -g docfx

You will also need to install DocLinkChecker if you want to validate links in the documentation. You can install it via dotnet:

dotnet tool install -g DocLinkChecker

The documentation is built using DocFX. To build and locally serve the documentation, run:

docfx docs/docfx.json --serve

This will build the documentation and serve it at http://localhost:8080.

To ensure that all of the links in the documentation are valid, you can run:

DocLinkChecker -d docs
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.0 168 12/5/2025
0.5.0 380 11/17/2025