We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db5afd1 commit 60619a6Copy full SHA for 60619a6
src/tmuxp/cli/ls.py
@@ -1,3 +1,4 @@
1
+"""CLI for ``tmuxp ls`` subcommand."""
2
import argparse
3
import os
4
import typing as t
@@ -9,12 +10,14 @@
9
10
def create_ls_subparser(
11
parser: argparse.ArgumentParser,
12
) -> argparse.ArgumentParser:
13
+ """Augment :class:`argparse.ArgumentParser` with ``ls`` subcommand."""
14
return parser
15
16
17
def command_ls(
18
parser: t.Optional[argparse.ArgumentParser] = None,
19
) -> None:
20
+ """Entrypoint for ``tmuxp ls`` subcommand."""
21
tmuxp_dir = get_workspace_dir()
22
if os.path.exists(tmuxp_dir) and os.path.isdir(tmuxp_dir):
23
for f in sorted(os.listdir(tmuxp_dir)):
0 commit comments