Name

Yakuake::Sessions::TraitFor::Management - CRUD methods for session profiles

Synopsis

use Moo;

extends 'Yakuake::Sessions::Base';
with    'Yakuake::Sessions::TraitFor::Management';

Description

Create, retrieve, update, and delete methods for session profiles

Configuration and Environment

Defines the following attributes;

editor

The editor used to edit profiles. Can be set from the configuration file. Defaults to the environment variable EDITOR or if unset emacs

Subroutines/Methods

create - Create a new session profile

$exit_code = $self->create;

New session profiles are created in the profile_dir directory

delete - Delete a session profile

$exit_code = $self->delete;

The session profile is specified on the command line

edit - Edit a session profile

$exit_code = $self->edit;

Uses the editor attribute to select the editor

list - List the names of the stored profiles

$exit_code = $self->list;

List the session profiles stored in the profile_dir

select - Select the profile to load from a list

$exit_code = $self->select;

Displays a list of the available profiles and loads the one that is selected

show - Display the contents of a session profile

$exit_code = $self->show;

The session profile is specified on the command line

Diagnostics

None

Dependencies

Class::Usul
File::DataClass
Moo::Role

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Acknowledgements

Larry Wall - For the Perl programming language

Author

Peter Flanigan, <pjfl@cpan.org>

License and Copyright

Copyright (c) 2014 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE