#!/usr/bin/env perl

use strict;
use warnings;

use FindBin qw($Bin);
use lib "$Bin/../lib";

use Developer::Dashboard::CLI::Paths ();

# main(@ARGV)
# Runs the paths helper for Developer Dashboard.
# Input: command-line arguments from @ARGV.
# Output: prints the active runtime path JSON payload, then exits.
Developer::Dashboard::CLI::Paths::run_paths_command( command => 'paths', args => \@ARGV );

__END__

=pod

=head1 NAME

paths - private runtime path helper for Developer Dashboard

=head1 SYNOPSIS

  dashboard paths

=head1 DESCRIPTION

This private helper is staged under F<~/.developer-dashboard/cli/dd/> so the main
C<dashboard> command can expose the active runtime path set without loading the
full runtime first.

=for comment FULL-POD-DOC START

=head1 PURPOSE

Private helper script in the Developer Dashboard codebase. This file dispatches the dashboard paths command through the private helper runtime.
Open this file when you need the implementation, regression coverage, or runtime entrypoint for that responsibility rather than guessing which part of the tree owns it.

=head1 WHY IT EXISTS

It exists so C<bin/dashboard> can stay thin under the LAZY-THIN-CMD rule while still providing built-in commands through staged helper scripts under C<~/.developer-dashboard/cli/dd/>.

=head1 WHEN TO USE

Use this file when you need to understand how a built-in C<dashboard> subcommand is staged and handed off after helper extraction into the home runtime.

=head1 HOW TO USE

Users normally reach this helper through C<dashboard paths>. For debugging, inspect the staged copy under C<~/.developer-dashboard/cli/dd/paths> after helper staging.

=head1 WHAT USES IT

It is used by C<bin/dashboard> after helper staging has placed the home-runtime wrapper at C<~/.developer-dashboard/cli/dd/paths>.

=head1 EXAMPLES

  dashboard paths

That is the user-facing route. After helper staging you can also inspect the home-runtime wrapper under C<~/.developer-dashboard/cli/dd/paths>.

=for comment FULL-POD-DOC END

=cut
