Skip to content

Commit

Permalink
chore: flags slight rework + add restart notice
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Jun 7, 2024
1 parent 5566e9b commit bc16613
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 8 additions & 4 deletions docs/components/modeler/desktop-modeler/flags/flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@ title: Flags
description: "Flags allow you to control the availability of certain features within Desktop Modeler."
---

Flags allow you to control the availability of certain features within Desktop Modeler.
Flags allow you to control the availability of certain features within Desktop Modeler. Learn which flags [are available](#available-flags) and how to [configure them](#configuration).

## Configuring Flags
## Configuration

You may configure flags in a `flags.json` file or pass them via CLI.

### Configure in `flags.json`
### Configuration via `flags.json`

:::note
Configuration changes via `flags.json` will only take effect once you restart the application.
:::

Place a `flags.json` file inside the `resources` folder of your local [`{USER_DATA}`](../search-paths#user-data-directory) or [`{APP_DATA_DIRECTORY}`](../search-paths#app-data-directory) directory to persist them.

### Configure via CLI
### Configuration via command line

Pass flags via the command line when starting the application.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@ title: Flags
description: "Flags allow you to control the availability of certain features within Desktop Modeler."
---

Flags allow you to control the availability of certain features within Desktop Modeler.
Flags allow you to control the availability of certain features within Desktop Modeler. Learn which flags [are available](#available-flags) and how to [configure them](#configuration).

## Configuring Flags
## Configuration

You may configure flags in a `flags.json` file or pass them via CLI.

### Configure in `flags.json`
### Configuration via `flags.json`

:::note
Configuration changes via `flags.json` will only take effect once you restart the application.
:::

Place a `flags.json` file inside the `resources` folder of your local [`{USER_DATA}`](../search-paths#user-data-directory) or [`{APP_DATA_DIRECTORY}`](../search-paths#app-data-directory) directory to persist them.

### Configure via CLI
### Configuration via command line

Pass flags via the command line when starting the application.

Expand Down

0 comments on commit bc16613

Please sign in to comment.