chiba

A small library for plugins based on namespace discovery

License

License

GroupId

GroupId

org.cloudhoist
ArtifactId

ArtifactId

chiba
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

chiba
A small library for plugins based on namespace discovery
Source Code Management

Source Code Management

https://github.com/pallet/chiba

Download chiba

How to add to project

<!-- https://jarcasting.com/artifacts/org.cloudhoist/chiba/ -->
<dependency>
    <groupId>org.cloudhoist</groupId>
    <artifactId>chiba</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.cloudhoist/chiba/
implementation 'org.cloudhoist:chiba:0.1.1'
// https://jarcasting.com/artifacts/org.cloudhoist/chiba/
implementation ("org.cloudhoist:chiba:0.1.1")
'org.cloudhoist:chiba:jar:0.1.1'
<dependency org="org.cloudhoist" name="chiba" rev="0.1.1">
  <artifact name="chiba" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.cloudhoist', module='chiba', version='0.1.1')
)
libraryDependencies += "org.cloudhoist" % "chiba" % "0.1.1"
[org.cloudhoist/chiba "0.1.1"]

Dependencies

compile (1)

Group / Artifact Type Version
bultitude » bultitude jar 0.1.3

Project Modules

There are no modules declared in this project.

Repository · Issues · API docs · Annotated source · Release Notes

chiba

Chiba is no sprawl, just a small library to help you to augment your code with plugins.

Usage

Return all namespaces matching a prefix:

    (require 'chiba.plugin)
    (chiba.plugin/plugins "my.plugin.root-namespace")

Return all namespaces matching a prefix, excluding those that match an exclusion regex:

    (require 'chiba.plugin)
    (chiba.plugin/plugins
      "my.plugin.root-namespace" #"my.plugin.root-namespace.utils.*")
    (require 'chiba.plugin)
    (chiba.plugin/data-plugins
       #"my.plugin.root-namespace.utils.*")

Install

project.clj

Add the folowing to your project.clj:

:dependencies [[com.palletops/chiba "0.2.1"]]

License

Copyright (C) 2011, 2012, 2013 Hugo Duncan

Distributed under the Eclipse Public License.

org.cloudhoist

pallet

Versions

Version
0.1.1
0.1.0