Skip to content

Commit

Permalink
cs fix + readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
pivnicek committed Apr 30, 2024
1 parent 3d0d23b commit bc2564e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ It will perform a dry run unleass the `--force/-f` option is applied.

Arguments:
- Storage Token *required*
- Hostname sUffix *optional* (default: keboola.com)
- Hostname suffix *optional* (default: keboola.com)

Options:
- `--force/-f`
Expand All @@ -288,6 +288,31 @@ Options:
php ./cli.php storage:delete-ownerless-workspaces [--force/-f] [--includeShared] <storage-token> <hostname-suffix>
```

## Describe Connection Workspaces for an organization
This command takes an output file argument and writes out a csv describing all connection workspaces in an organisation.
The output file has header:
'projectId',
'projectName',
'branchId',
'branchName',
'componentId',
'configurationId',
'creatorEmail',
'createdDate',
'snowflakeSchema',
'readOnlyStorageAccess'

Arguments:
- Manage Token *required*
- Organisation Id *required*
- Output File *required*
- Hostname suffix *optional* (default: keboola.com)

- Run the command
```
php ./cli.php manage:describe-organization-workspaces <manage-token> <organization-id> <output-file> <hostname-suffix>
```

## License

MIT licensed, see [LICENSE](./LICENSE) file.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ protected function execute(InputInterface $input, OutputInterface $output): void
];
$csvFile->writeRow($row);
$totalProjectWorkspaces ++;

}
}
$output->writeln(
Expand Down

0 comments on commit bc2564e

Please sign in to comment.