# Common Arguments

Common arguments which can be used with many commands.

{% hint style="info" %}
**Get supported arguments**

If you are not sure which arguments are supported by a command, ask for help using the -? option: `bc comp get -?` lists all arguments supported by the "COMP GET" command, for example.
{% endhint %}

## Component Source Arguments

For more details how these component parameters work see [Component Resolution](/boomi-console/commands/arguments/common-arguments/command-sources.md).

<details>

<summary>/ComponentId, /c</summary>

The component Id(s) for the current command.

To get the current version of a component, specify the component id only `53e9908b-8c82-4b64-...`

If you want to retrieve a specific version you must add the `~<VersionNo>`, for example: `53e9908b-8c82-4b64~12` to get version 12 of that component.

[Allow Multi](/boomi-console/commands/arguments/common-arguments/allow-multi.md)

</details>

<details>

<summary>/Set, /s</summary>

[The Set Argument in Detail](/boomi-console/commands/arguments/common-arguments/components-set.md)

</details>

<details>

<summary>/QueryFilter, /q</summary>

Specify a file (relative to the current Workspace) that contains a Boomi Query Filter -> [Query Filter](/boomi-console/commands/arguments/common-arguments/query-files.md)

</details>

<details>

<summary>/ExcludePath, /x</summary>

Exclude one or more folder paths from querying components. If a component is located in **any folder that starts with an exlusion tag**, this component is excluded.

` bc comp get`` `` `**`/c`**` ``e4bc4a53-...`` `**`/ExcludePath`**`=Temp;Sandbox`

[Allow Multi](/boomi-console/commands/arguments/common-arguments/allow-multi.md)

</details>

## Directories

<details>

<summary>/outDir, o</summary>

Specify an absolute or workspace relative path where all outputs go to.

Default: `./Out` or the the name of a package, if specified. Package output is stored in the package folder.

[Target Path Resolution](/boomi-console/help-text/target-path-resolution.md)

</details>

<details>

<summary>/workDir, wd</summary>

Specify a workspace directory for the current execution.

This directory is used a the base for `/OutDir`, `/LogDir` and `/DocDir`, which are all relative to current workDir.

</details>

## Templates

<details>

<summary>/TemplateDir, /td</summary>

A directory relative to the current workspace where BoomiConsole will look for workspace-specific, user-defined Freemarker templates. If provided, this directory has the highest priority when resolving templates.

2. Application Templates Path \[DEFAULT]\
   `%BIN_DIR%\Templates\Freemarker`

</details>


---

# 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://boomi.markusschmidt.pro/boomi-console/commands/arguments/common-arguments.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.
