Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UA review for assemble command usage #425

Merged
merged 1 commit into from
Jun 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ Packages the MTA project into the MTA archive according to the `Makefile`.


<b>`mbt assemble`</b>
Creates an MTA archive .mtar file from the module build artifacts according to the MTA deployment descriptor (mtad.yaml file).
> <b>Note</b>: Make sure the path property of each module's mtad.yaml file points to the module's build artifacts that you want to package into the target MTA archive.
Creates an MTA archive `MTAR` file from the module build artifacts according to the MTA deployment descriptor (`mtad.yaml` file).
> <b>Note</b>: Make sure the path property of each module's `mtad.yaml` file points to the module's build artifacts that you want to package into the target MTA archive.

<b>Usage:</b> `mbt assemble <flags>`

<b>Flags:</b>

| Flag | Mandatory&nbsp;/<br>Optional | Description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Examples&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
| ----------- | ------- | ---------- | -----------------------------
| `-s (--source)` | Optional | The path to the folder where the project’s mtad.yaml file is located; the current path is set as the default. | `mbt assemble -s=C:/TestProject`
| `-s (--source)` | Optional | The path to the folder where the project’s `mtad.yaml` file is located; the current path is set as the default. | `mbt assemble -s=C:/TestProject`
| `-t (--target)` | Optional | The folder for the generated `MTAR` file. If this parameter is not provided, the `MTAR` file is saved in the `mta_archives` subfolder of the current folder. If the parameter is provided, the `MTAR` file is saved in the root of the folder provided by the argument. | `mbt assemble -t=C:/TestFolder`
| `-m (--mtar)` | Optional | The file name of the generated archive file. If this parameter is omitted, the file name is created according to the following naming convention: <br><br> `<mta_application_ID>_<mta_application_version>.mtar` <br><br> If the parameter is provided, but does not include an extension, the `.mtar` extension is added. | `mbt assemble -m=anotherName`
| `-m (--mtar)` | Optional | The name of the generated archive file. If this parameter is omitted, the file name is created according to the following naming convention: <br><br> `<mta_application_ID>_<mta_application_version>.mtar` <br><br> If the parameter is provided, but does not include an extension, the `.mtar` extension is added. | `mbt assemble -m=anotherName`