YuiRestClient - Perl module to interact with YaST applications via libyui-rest-api.
See documentation of the libyui-rest-api project. for more details about server side implementation.
use YuiRestClient;
use constant API_VERSION => 'v1';
my $app = YuiRestClient::App->new({
port => $port,
host => $host,
api_version => API_VERSION
});
$app->check_connection();
my $btn = $app->button({id => 'btn_ok'});
$btn->click();
To manually install the package run following commands:
perl Makefile.pl
make manifest
make install
To generate tarball, execute make dist
command. This command will also generate README file and update README.pod file.
The perl module is available as open source under the terms of the MIT License.