scullery.rcp_rms

Resource management recipes

This recipe is used to list resources optionally filtered by projectname.

If no projectname is specified it should list all resources. If projectname is specified it will list all resources related to the given project.

Output format can be controlled with -f / --format:

Format

Description

terminal

Aligned columns for your terminal

json

JSON array of resources

csv

Comma-separated values

tsv

Tab-separated values

markdown

Markdown / pipe table

Module Contents

Functions

run

Resource management (specify a project to limit list)

sphinxarg

parser

Register the resources sub-parser

Data

COLUMNS

API

scullery.rcp_rms.COLUMNS: scullery.formatters.Columns

[(‘project_name’, ‘Project’), (‘provider’, ‘Provider’), (‘type’, ‘Type’), (‘name’, ‘Name’), (‘region…

scullery.rcp_rms.run(args: argparse.Namespace) None

Resource management (specify a project to limit list)

scullery.rcp_rms.sphinxarg() argparse.ArgumentParser
scullery.rcp_rms.parser(subp: argparse.ArgumentParser) None

Register the resources sub-parser