1 package Gruntmaster
::App
::Command
::Get
;
6 our $VERSION = '5999.000_004';
8 use Gruntmaster
::App
'-command';
11 sub usage_desc
{ '%c [-cjpu] get id column' }
14 my ($self, $opt, $args) = @_;
16 $self->usage_error('No table selected') unless $self->app->table;
17 $self->usage_error('Wrong number of arguments') if @args != 2;
21 my ($self, $opt, $args) = @_;
22 my ($obj, $col) = @
$args;
23 say db
->select($self->app->table, $col, {id
=> $obj})->flat
This page took 0.024279 seconds and 5 git commands to generate.