# diagrid component edit

Edit a component in your editor

### Description

Edit a component in your preferred editor

```
diagrid component edit <component> [flags]
```

### Examples

```

  # Edit a component
  diagrid component edit my-component --project my-project

```

### Options

```
  -p, --project string   Name of existing project
  -h, --help             help for edit
```

### Options inherited from parent commands

```
      --api-key string   Diagrid Cloud API key
```

### SEE ALSO

- [diagrid component](./component.md)	 - Manage components
