Skip to content

Commit 1811a9f

Browse files
committed
cli(edit): Note pydocstyle updates
1 parent d4eb1f2 commit 1811a9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tmuxp/cli/edit.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"""CLI for ``tmuxp edit`` subcommand."""
12
import argparse
23
import os
34
import pathlib
@@ -10,6 +11,7 @@
1011
def create_edit_subparser(
1112
parser: argparse.ArgumentParser,
1213
) -> argparse.ArgumentParser:
14+
"""Augment :class:`argparse.ArgumentParser` with ``edit`` subcommand."""
1315
parser.add_argument(
1416
dest="workspace_file",
1517
metavar="workspace-file",
@@ -23,6 +25,7 @@ def command_edit(
2325
workspace_file: t.Union[str, pathlib.Path],
2426
parser: t.Optional[argparse.ArgumentParser] = None,
2527
) -> None:
28+
"""Entrypoint for ``tmuxp edit``, open tmuxp workspace file in system editor."""
2629
workspace_file = find_workspace_file(workspace_file)
2730

2831
sys_editor = os.environ.get("EDITOR", "vim")

0 commit comments

Comments
 (0)