ManageMaterialScript

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph cluster_abc { graph [label=abc]; node [color=1]; "abc.ABC" [URL="https://docs.python.org/3.6/library/abc.html#abc.ABC", label=ABC, target=_top]; } subgraph "cluster_abjadext.cli" { graph [label="abjadext.cli"]; node [color=2]; "abjadext.cli.ManageMaterialScript.ManageMaterialScript" [URL="../api/abjadext/cli/ManageMaterialScript.html#abjadext.cli.ManageMaterialScript.ManageMaterialScript", color=black, fontcolor=white, label="Manage\nMaterial\nScript", target=_top]; "abjadext.cli.ScorePackageScript.ScorePackageScript" [URL="../api/abjadext/cli/ScorePackageScript.html#abjadext.cli.ScorePackageScript.ScorePackageScript", label="Score\nPackage\nScript", shape=oval, style=bold, target=_top]; "abjadext.cli.ScorePackageScript.ScorePackageScript" -> "abjadext.cli.ManageMaterialScript.ManageMaterialScript"; } subgraph cluster_builtins { graph [label=builtins]; node [color=3]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; } subgraph "cluster_uqbar.cli" { graph [label="uqbar.cli"]; node [color=4]; "uqbar.cli.CLI.CLI" [label=CLI, shape=oval, style=bold]; } "abc.ABC" -> "uqbar.cli.CLI.CLI"; "builtins.object" -> "abc.ABC"; "uqbar.cli.CLI.CLI" -> "abjadext.cli.ScorePackageScript.ScorePackageScript"; }

class abjadext.cli.ManageMaterialScript.ManageMaterialScript

Manages score package materials.

abjad$ ajv material --help
usage: manage-material-script [-h] [--version]
                              (--new NAME | --edit PATTERN [PATTERN ...] | --illustrate PATTERN [PATTERN ...] | --render PATTERN [PATTERN ...] | --list)
                              [--score-path SCORE] [--force]

Manage score package materials.

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit

actions:
  --new NAME, -N NAME   create a new material
  --edit PATTERN [PATTERN ...], -E PATTERN [PATTERN ...]
                        edit materials
  --illustrate PATTERN [PATTERN ...], -I PATTERN [PATTERN ...]
                        illustrate materials
  --render PATTERN [PATTERN ...], -R PATTERN [PATTERN ...]
                        render material illustrations
  --list, -L            list materials

common options:
  --score-path SCORE, -s SCORE
                        score path or package name
  --force, -f           force overwriting

Attributes Summary

alias
config_name
short_description

Special methods

(CLI).__call__(arguments=None)

Calls developer script.

Returns none.

Return type:None

Read-only properties

(CLI).argument_parser

The script’s instance of argparse.ArgumentParser.

(CLI).formatted_help

Formatted help of developer script.

(CLI).formatted_usage

Formatted usage of developer script.

(CLI).formatted_version

Formatted version of developer script.

(CLI).program_name

The name of the script, callable from the command line.