# Application library generator

This generator is responsible for generating service-specific libraries.

You can run the application library generator by executing the following command:

```
nx generate @microservice-stack/workspace:application-library-generator
```

Executing the command will start the interactive shell which will guide you through different options for the application library generator. These options can also be added directly to the command by using the following flags:

* `--applicationName=<name>` This flag sets the name of the application for which you want to generate the library
* `--libraryName=<name>` This flag sets the name of the library you wish to create
* `--dry-run` This flag will run the generator without actually generating any files.
* `--no-interactive` This flag will skip the interactive shell


---

# 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.microservice-stack.com/introduction/workspace-generators/application-library-generator.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.
