Sparrow6.git | documentation/internal/ | repo-and-plugins-api.md
# Sparrow6::Task::Repository API
Sparrow6::Task::Repository API is an internal API to interact with Sparrow repositories, you probably don't need to
get into it's guts, but if you do, here is brief documentation.
Index update
#!raku
use Sparrow6::Task::Repository;
Sparrow6::Task::Repository::Api.new(
url => "file:///var/sparrow-local-repo",
debug => True,
).index-update;
Plugin install
#!raku
use Sparrow6::Task::Repository;
Sparrow6::Task::Repository::Api.new(
url => "http://192.168.0.1",
debug => True,
).plugin-install("foo-test");