Skip to content

Commit fa6558f

Browse files
committed
[direction] add docstring
1 parent 376040c commit fa6558f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/pathins/direction.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@
88
from .validators import validate_fontpath, validate_glyph_in_font
99

1010
# TODO: add --check support to confirm all paths in same direction
11+
# TODO: add --summary to include total CW and CCW directions
1112

1213

1314
def direction_run(args: argparse.Namespace) -> None:
15+
"""
16+
Displays the direction of the outermost contour of one
17+
or more glyphs in a font. Results are expressed as either
18+
"clockwise" or "counter-clockwise".
19+
"""
1420
fontpath: str = args.fontpath
1521
glyphname: str = args.glyphname
1622

0 commit comments

Comments
 (0)