nmbl logo

Home

Welcome to the nmbl documentation! This guide will help you understand the tool’s capabilities and get you up and running quickly.

What is nmbl?

nmbl is a developer CLI tool designed to help .NET developers analyze, manage, and maintain their solutions and projects. It provides a comprehensive suite of commands for code analysis, dependency visualization, and project maintenance.

Quick Start

# Install nmbl (see Getting Started for details)
dotnet tool install --global nmbl

# Authenticate
nmbl login

# Analyze cyclomatic complexity
nmbl cc MySolution.slnx

# Generate dependency graph
nmbl deps MyProject.csproj --output graph.svg

# View all available commands
nmbl help --with-examples

Sections

Key Features

Command Categories

Code Analysis Commands (Read-Only)

CommandDescription
ccCalculate cyclomatic complexity for C# methods
cogcCalculate cognitive complexity for C# code
depsGenerate dependency graphs (Mermaid/SVG/HTML)
locCount lines of code in projects
projectreferencesList project reference relationships
regionsCount #region directives in C# files
todosFind TODO/HACK comments in code
gitstatusCheck status of git repositories

File/System Modification Commands

CommandDescription
cleanseRemove all bin and obj folders recursively
endregionsRemove #region directives from C# files
gitupdatePull latest changes in multiple git repositories

Authentication Commands

CommandDescription
loginAuthenticate using OAuth (Google)
logoutClear stored authentication tokens
whoamiDisplay current authentication status

Technology Stack

Getting Started →

Install nmbl and get started with your first commands

Commands →

Complete reference for all nmbl commands

Authentication →

Configure authentication for nmbl