# Commands

All commands have usage examples along with help documentation in the commands. To view more details, run `bard <command> -h`.

### init

Initialize a new mono repository.

```shell
bard init
```

### add

Add a new package to bard.

```sh
bard add <path> <repository>
```

### merge

This command will merge all packages into the root `composer.json` file.

```sh
bard merge [<package>]
```

### push

Pushes code to their respective repositories.

```sh
bard push [<package>]
```

### release

Creates a new release. This command will update all the files that need to be updated, tag, and push the release out.

```sh
bard release <release>
```

{% hint style="success" %}
You can use `major`, `minor`, or `patch` as the `<release>` argument instead of specifying the exact version you want to release.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sonsofphp.com/bard/commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
