# f5.declared.app.declare

```
Creates or updates an application with the new Declarative API.
Usage: f5.declared.app.declare [options...] <declaration file>
Options:
    -d <variables file>  Define a custom variable file.
    -n                   Create a new app.
    -k                   Keeps the temporary files.
    -sVAR=VALUE          Define a custom variable.
    -t                   Process the declaration file with mustache.
    -u                   Replace an existing app.

Reference: https://techdocs.f5.com/en-us/bigip-21-1-0/big-ip-declarative-api/big-ip-declarative-api.html
Example app template: restsh/modules/f5/templates/declared/app.json

Example template file:
{
  "name": "{{NAME}}",
  "partition": "{{PARTITION}}",
  "resources": []
}

Example variable file:
NAME="test"
PARTITION="Common"
```
