| title | bnd CLI Commands |
|---|---|
| layout | bnd |
| parent | Documentation and Tools |
| nav_order | 2 |
| has_children | true |
The command line interface (bnd CLI) provides various tools to invoke bnd functions and features. It is using bndlib under the hood just like other tooling like bndtools, maven or gradle plugins do too.
Checkout the tutorial which makes use of the CLI.
See here to install the CLI.
The bnd CLI can be invoked in several different ways:
- bnd ''general-options'' ''cmd'' ''cmd-options''
- bnd ''general-options'' ''.jar''
- bnd ''general-options'' ''.bnd''
In this text bnd is used as if it is a command line program. This should be set up as:
java -jar .jar ...
| General Option | Description |
|---|---|
-b, --base <string> |
Use as base directory |
-d, --debug |
Show log debug output |
-e, --exceptions |
Print out stack traces when there is an unexpected exception |
-f, --failok |
Turns errors into warnings so command always succeeds |
-i, --ignore <string;> |
Error/Warning ignore patterns |
-o, --output <file> |
Redirect output |
-p, --pedantic |
Report errors pedantically |
-s, --secret <[c> |
Provide a settings password |
-t, --trace |
Trace progress |
-w, --workspace |
Use the workspace related to the default directory as parent for bnd |
Show list of all options for the bnd CLI.
{% for page in site.commands %}
{% endfor %}
| page | Description | Class |
|---|---|---|
| {{page.title | escape}} | {{page.summary | escape}} | {{page.class}} |