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="", label=ABC, target=_top]; } subgraph "cluster_abjadext.cli" { graph [label="abjadext.cli"]; node [color=2]; "abjadext.cli.ManageSegmentScript.ManageSegmentScript" [URL="../api/abjadext/cli/ManageSegmentScript.html#abjadext.cli.ManageSegmentScript.ManageSegmentScript", color=black, fontcolor=white, label="Manage\nSegment\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.ManageSegmentScript.ManageSegmentScript"; } subgraph cluster_builtins { graph [label=builtins]; node [color=3]; "builtins.object" [URL="", 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.ManageSegmentScript.ManageSegmentScript

Manages score package segments.

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

Manage score package segments.

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

  --new NAME, -N NAME   create a new segment
  --edit [PATTERN [PATTERN ...]], -E [PATTERN [PATTERN ...]]
                        edit segments
  --illustrate PATTERN [PATTERN ...], -I PATTERN [PATTERN ...]
                        illustrate segments
  --render PATTERN [PATTERN ...], -R PATTERN [PATTERN ...]
                        render segment illustrations
  --collect, -C         collect segment illustrations
  --stage, -T           stage segments for illustration
  --list, -L            list segments

common options:
  --score-path SCORE, -s SCORE
                        score path or package name
  --force, -f           force overwriting
  -u, --unstaged        Include segments not staged in segments/metadata.json

Attributes Summary


Special methods


Calls developer script.

Returns none.

Return type:None

Read-only properties


The script’s instance of argparse.ArgumentParser.


Formatted help of developer script.


Formatted usage of developer script.


Formatted version of developer script.


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