NAME

App::BitBucketCli::Core - Library for talking to BitBucket Server (or Stash)

VERSION

This documentation refers to App::BitBucketCli::Core version 0.007

SYNOPSIS

use App::BitBucketCli::Core;

# create a stash object
my $stash = App::BitBucketCli::Core->new(
    url => 'http://stash.example.com/',
);

# Get a list of open pull requests for a repository
my $prs = $stash->pull_requests($project, $repository);

DESCRIPTION

SUBROUTINES/METHODS

branch ()

get_branches ()

get_pull_requests ()

projects ()

pull_requests ( $project, $repository, $state )

Gets all of the pull requests in $state.

repositories ( $project )

Gets details of all repositories of $project

repository ( $project, $repository )

Gets details of a repository

ATTRIBUTES

url

host

user

pass

mech

max

Set the maximum number of results to collect from BitBucket Server.

opt

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

INCOMPATIBILITIES

BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Ivan Wills (ivan.wills@gmail.com).

Patches are welcome.

AUTHOR

Ivan Wills - (ivan.wills@gmail.com)

LICENSE AND COPYRIGHT

Copyright (c) 2017 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.

This module 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 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.