# uip vss scaffold

> `uip vss scaffold` scaffolds a new vertical solution from the upstream template. It clones [`UiPath/vertical-solutions-template`](https://github.com/UiPath/vertical-solutions-template) via `git`, strips the `.git` directory, and copies the result into the target directory.

`uip vss scaffold` scaffolds a new vertical solution from the upstream template. It clones [`UiPath/vertical-solutions-template`](https://github.com/UiPath/vertical-solutions-template) via `git`, strips the `.git` directory, and copies the result into the target directory.

## Synopsis

```
uip vss scaffold [options]
```

## Options

| Flag | Description |
|---|---|
| `-t, --target-path <targetPath>` | Target directory. Created if it does not exist. Defaults to the current working directory. |

## Prerequisites

`git` must be installed and on `PATH`. If `git` is missing, the command fails with a `Failure` result pointing at https://git-scm.com/downloads.

## Examples

```bash
# Scaffold into the current directory
uip vss scaffold

# Scaffold into ./my-app
uip vss scaffold --target-path ./my-app
```

## Data shape (--output json)

The command emits two success payloads in sequence. First, the clone confirmation:

```json
{
  "Code": "TemplateCloned",
  "Data": {
    "Status": "Template cloned successfully",
    "Path": "./my-app"
  }
}
```

Followed by next-steps instructions:

```json
{
  "Code": "NextSteps",
  "Data": {
    "Status": "Next steps",
    "Instructions": "cd ./my-app\nbun install\nbun dev"
  }
}
```

## Related

- [uip vss init](./uip-vss-init.md) — initialize a `vss.json` in place without cloning the template.
- [uip vss add](./uip-vss-add.md) — register processes once the project is scaffolded.
- [uip vss generate](./uip-vss-generate.md) — generate types from the Data Fabric schema bundled with the template.

## See also

- [Vertical Solutions tool overview](./uip-vss.md)
- [Global options](./global-options.md)
- [Exit codes](./exit-codes.md)
