Alien-Turso-CLI
view release on metacpan or search on metacpan
lib/Alien/Turso/CLI.pm view on Meta::CPAN
package Alien::Turso::CLI;
use 5.018;
use strict;
use warnings;
use base qw( Alien::Base );
our $VERSION = "0.02";
1;
__END__
=encoding utf-8
=head1 NAME
Alien::Turso::CLI - Install and find Turso CLI
=head1 SYNOPSIS
use Alien::Turso::CLI;
# Get the turso binary path
my $turso = Alien::Turso::CLI->bin_dir . '/turso';
# Check version
system $turso, "--version";
# Run turso commands
system $turso, "auth", "login"; # Login to Turso
system $turso, "db", "list"; # List databases
# Alternative usage (if you encounter issues):
# use Alien;
# use Alien::Turso::CLI;
=head1 DESCRIPTION
Alien::Turso::CLI provides the Turso CLI (Command Line Interface) for Perl applications.
This module will download and install the Turso CLI binary if it's not already available on your system.
Turso CLI is the official command-line interface for Turso, the edge-hosted, distributed database built on libSQL.
=head1 REQUIREMENTS
=over 4
=item *
Perl 5.18 or later
=item *
Linux x86_64 platform (currently supported)
=item *
Internet connection for downloading Turso CLI binary
=back
=head1 INSTALLATION
cpanm Alien::Turso::CLI
Or manually:
perl Build.PL
./Build
./Build test
./Build install
After installation, you can use the Turso CLI:
( run in 1.631 second using v1.01-cache-2.11-cpan-e1769b4cff6 )