Skip to content

Feature --output doesn't work #382

@olegpror

Description

@olegpror

Hi!
I'm trying to show info about shares in csv format, but it it doesn't work, output is always in json format.
I try it with Nextcloud 23 and 25, and app version 1.1.0 and 1.1.1

I use command:
sudo -u nginx php occ sharing:list --output csv
Example output:
{
"id": "58",
"file_id": 12160,
"owner": "user1",
"initiator": "user1",
"time": "2023-02-06T07:11:35+00:00",
"permissions": 31,
"path": "/Quality_control 2023",
"name": "Quality_control 2023",
"is_directory": true,
"type": "user",
"recipient": "user2"
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions