Ignore:
Timestamp:
06/02/20 18:52:41 (4 years ago)
Author:
nanardon
Message:

Add completion on attributes to la-cli search()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Cli.pm

    r2309 r2374  
    8787                if(!$_[2]) { 
    8888                    return $_[0]->base->list_supported_objects 
    89                 } else { return() } 
     89                } else { 
     90                    return( 
     91                        map { ( $_ . '=', $_ . '~' ) } $_[0]->base->list_canonical_fields($_[2], 'r') 
     92                    ); 
     93                } 
    9094            }, 
    9195            code => sub { 
Note: See TracChangeset for help on using the changeset viewer.