# The workspace file

> The keys of plinto-workspace.conf, which names a workspace's version group revision and its projects.

`plinto-workspace.conf`, at the top of a workspace.

```conf file=plinto-workspace.conf
{
  organization = acme
  version-group = main@202
  projects = [MyLib, MyService, apps/MyWeb]
}
```

| Key | What it says |
|---|---|
| `organization` | the organization whose group this is; plinto writes it. A file without one is your organization's when you are in one only, and refused when you are in several |
| `version-group` | the version group and its revision, as `<group>@<revision>`. Without `@<revision>` builds take the newest, and warn that `plinto update` pins it |
| `projects` | the projects, as folders in `src/`: `apps/MyWeb` is `src/apps/MyWeb` |

A workspace names no repository: plinto has its own, built in, and a `repository` line is refused.

## Commands that change it {#commands}

| Command | What it changes |
|---|---|
| `plinto workspace create <dir> --version-group <group>` | writes it, pinned to the group's newest revision |
| `plinto create <template> <Name>` | adds the new project to `projects` |
| `plinto workspace add <Package>` | clones a package's source and adds it to `projects` |
| `plinto workspace remove <Package>` | takes it out of `projects` and deletes its folder |
| `plinto update [<revision>]` | moves `version-group` to the newest revision, or another one |

- [Workspaces](../concepts/workspaces.md): what it is for
- [plinto.conf](plinto-conf.md): each project's file
- [Command line](cli.md): every command
