App::riap - Riap command-line client shell ++

This is the backend/implementation of the "riap" script. SEE ALSO Perinci::Access AUTHOR perlancar <perlancar@cpan.org> COPYRIGHT AND LICENSE This software is copyright (c) 2015 by perlancar@cpan.org. This is free software; you can redistribute it an...

PERLANCAR/App-riap-0.29 - 18 Feb 2015 08:06:43 GMT - Search in distribution

dbi2http - Export DBI database as HTTP API (Riap::HTTP) ++

This is a one-liner shortcut to export your DBI database as HTTP API (using Riap::HTTP protocol). It is a wrapper to a PSGI app (Plack::App::dbi2http) which does the heavy-lifting. So what this script does is basically create a config file on-the-fly...

SHARYANTO/Plack-App-dbi2http-0.05 - 18 Jun 2014 09:36:20 GMT - Search in distribution

Perinci::Web - Rinci/Riap-based web application framework ++

Perinci::Web is a web application framework. It will let you define routes to your functions (accessed via Riap protocol), templating, assets, etc. The spirit is much like Perinci::CmdLine: to let you write as much core functionality in normal Perl f...

SHARYANTO/Perinci-Web-0.00 - 24 Jul 2012 19:40:42 GMT - Search in distribution

Perinci::Access - Wrapper for Perinci Riap clients ++

This module provides a convenient wrapper to select appropriate Riap client (Perinci::Access::*) objects based on URI scheme. /Foo/Bar/ -> Perinci::Access::Schemeless pl:/Foo/Bar -> Perinci::Access::Perl riap://perl/Foo/Bar/ -> Perinci::Access::Perl ...

PERLANCAR/Perinci-Access-0.40 - 19 Feb 2015 02:39:10 GMT - Search in distribution

pretty-res - Format enveloped result prettily ++

This script formats data structure using Perinci::Result::Format. If data structure is not detected as an enveloped result (see Rinci::function for more information about enveloped result), it will add an envelope for you. You can use this script to ...

PERLANCAR/App-PrettyRes-0.02 - 03 Jan 2015 09:18:51 GMT - Search in distribution

Path::Naive - Yet another abstract, Unix-like path manipulation routines ++

This is yet another set of routines to manipulate abstract Unix-like paths. Abstract means not tied to actual filesystem. Unix-like means single-root tree, with forward slash "/" as separator, and "." and ".." to mean current- and parent directory. N...

PERLANCAR/Path-Naive-0.03 - 19 Sep 2014 12:06:36 GMT - Search in distribution

Progress::Any - Record progress to any output 4 ++

"Progress::Any" is an interface for applications that want to display progress to users. It decouples progress updating and output, rather similar to how Log::Any decouples log producers and consumers (output). The API is also rather similar to Log::...

PERLANCAR/Progress-Any-0.20 - 31 Jan 2015 14:27:09 GMT - Search in distribution

peri-sockserve - Serve Perl modules using the Riap::Simple protocol over sockets ++
PERLANCAR/Perinci-Access-Simple-Server-0.20 - 11 Dec 2014 02:10:55 GMT - Search in distribution

Perinci::CmdLine - Rinci/Riap-based command-line application framework ++

See Perinci::CmdLine::Manual. Screenshots: REQUEST KEYS See also Perinci::CmdLine::Base. Extra stuffs put by this module to the $r hash/stash. * format_options => hash ATTRIBUTES All the attributes of Perinci::CmdLine::Base, plus: log => BOOL (defaul...

PERLANCAR/Perinci-CmdLine-1.44 - 11 Jan 2015 16:19:09 GMT - Search in distribution

complete-riap-url - Complete Riap URL ++

Currently only support local Perl schemes (e.g. "/Pkg/Subpkg/function" or "pl:/Pkg/Subpkg/"). OPTIONS "*" marks required options. --ci Whether to do case-insensitive search. --config-path=*s* Set path to configuration file. Can be specified multiple ...

PERLANCAR/App-CompleteCLIs-0.02 - 31 Dec 2014 07:33:34 GMT - Search in distribution

Perinci::CmdLine::Help - Generate help message for Perinci::CmdLine-based app ++

Currently used by Perinci::CmdLine::Lite and App::riap. Eventually I want Perinci::CmdLine to use this also (needs prettier and more sophisticated formatting options first though). FUNCTIONS gen_help(%args) -> [status, msg, result, meta] Generate hel...

PERLANCAR/Perinci-CmdLine-Help-0.03 - 27 Feb 2015 11:07:07 GMT - Search in distribution

Perinci::Sub::Complete - Complete command-line argument using Rinci metadata ++

FUNCTIONS complete_arg_elem(%args) -> array {en_US Given argument name and function metadata, complete array element}. {en_US Will attempt to complete using the completion routine specified in the argument specification (the "completion" property, or...

PERLANCAR/Perinci-Sub-Complete-0.71 - 09 Jan 2015 11:22:52 GMT - Search in distribution

Perinci::CmdLine::Base - Base class for Perinci::CmdLine{Classic,::Lite} ++

PROGRAM FLOW (NORMAL) If you execute "run()", this is what will happen, in order: * Detect if we are running under tab completion mode This is done by checking the existence of special environment varibles like "COMP_LINE" or "COMMAND_LINE" (tcsh). I...

PERLANCAR/Perinci-CmdLine-Lite-0.87 - 25 Feb 2015 17:08:23 GMT - Search in distribution

Perinci::CmdLine::Classic - Rinci/Riap-based command-line application framework ++

See Perinci::CmdLine::Manual. Screenshots: REQUEST KEYS See also Perinci::CmdLine::Base. Extra stuffs put by this module to the $r hash/stash. * format_options => hash ATTRIBUTES All the attributes of Perinci::CmdLine::Base, plus: log => BOOL (defaul...

PERLANCAR/Perinci-CmdLine-Classic-1.46 - 25 Feb 2015 17:09:50 GMT - Search in distribution

Perinci::Access::HTTP::Client - Riap::HTTP client ++

This class implements Riap::HTTP client. This class uses Log::Any for logging. ATTRIBUTES * realm => STR For HTTP basic authentication. Defaults to "restricted area" (this is the default realm used by Plack::Middleware::Auth::Basic). * user => STR Fo...

PERLANCAR/Perinci-Access-HTTP-Client-0.21 - 24 Oct 2014 11:35:57 GMT - Search in distribution

Perinci::Access::HTTP::Server - PSGI application to implement Riap::HTTP ++

Perinci::Access::HTTP::*Server* (PeriAHS for short) is a PSGI *application* (a set of *middlewares* in Plack::Middleware::PeriAHS::*, really) to implement Riap::HTTP server. You compose the middlewares, configuring each one and including only the one...

PERLANCAR/Perinci-Access-HTTP-Server-0.56 - 03 Jan 2015 09:26:55 GMT - Search in distribution

peri-eg-gen-random-bytes-any - Generate random bytes of specified length ++

This function can also be used to test binary data and Riap 1.2. By default it will generate 1K worth of random garbage. OPTIONS "*" marks required options. Common options --config-path=*s* Set path to configuration file. --config-profile=*s* Set con...

PERLANCAR/Perinci-Examples-Bin-Any-0.05 - 21 Nov 2014 09:32:32 GMT - Search in distribution

peri-eg-gen-random-bytes-lite - Generate random bytes of specified length ++

This function can also be used to test binary data and Riap 1.2. By default it will generate 1K worth of random garbage. OPTIONS TODO BASH COMPLETION This script has bash completion capability. To activate bash completion for this script, put: comple...

PERLANCAR/Perinci-Examples-Bin-Lite-0.04 - 20 Nov 2014 13:07:25 GMT - Search in distribution

Perinci::Access::Schemeless::DBI - Subclass of Perinci::Access::Schemeless which gets lists of entities (and metadata) from DBI database ++

This subclass of Perinci::Access::Schemeless gets lists of code entities (currently only packages and functions) from a DBI database (instead of from listing Perl packages on the filesystem). It can also retrieve Rinci metadata from said database (in...

PERLANCAR/Perinci-Access-Schemeless-DBI-0.06 - 03 Jan 2015 09:27:06 GMT - Search in distribution

Dist::Zilla::Plugin::Rinci::ScriptFromFunc - Create or fill out script details from Riap function metadata ++

After you add Rinci metadata to your function, e.g.: package My::Palindrome; $SPEC{check_palindrome} = { v => 1.1, args => { text => { schema=>'str*', req=>1, pos=>0 }, ci => { schema=>'bool*', cmdline_aliases=>{i=>{}} }, }, result_naked => 1, }; sub...

PERLANCAR/Dist-Zilla-Plugin-Rinci-ScriptFromFunc-0.09 - 24 Feb 2015 09:04:24 GMT - Search in distribution