> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getoperate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Resources

## Listing resources

The `getOperate resource` list command is used to list all resources in the remote workspace.

```bash theme={null}
getOperate resource
```

## Pushing a resource

* The `getOperate resource push` command is used to push a local resource, overriding any existing remote versions.

```bash theme={null}
getOperate resource push <file_path> <remote_path>
```

### Arguments

| Argument      | Description                                          |
| ------------- | ---------------------------------------------------- |
| `file_path`   | The path to the resource file to push.               |
| `remote_path` | The remote path where the resource should be pushed. |

### Resource specification

We support both JSON and YAML files. The structure of the file is as follows:

YAML:

```YAML theme={null}
value: <value>
description: <description>
resource_type: <resource_type>
is_oauth: <is_oauth>
```

JSON:

```JSON theme={null}
{
    "value": "<value>",
    "description": "<description>",
    "resource_type": "<resource_type>",
    "is_oauth": "<is_oauth>"
}
```

* value (required): Represents the actual content or value of the resource.
* description (optional): A string providing additional information or a description of the resource.
* resource\_type (required): A resource type
* is\_oauth (optional, deprecated): This property is deprecated and should not be used.
