From 52dfdb97ecad6c1a9bab3dfdb9996557e77a0a1e Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 9 Jun 2025 22:15:03 +1000 Subject: feat: add shell commands Also switch to classes --- src/subcommands/record.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/subcommands/record.py') diff --git a/src/subcommands/record.py b/src/subcommands/record.py index a94f3d0..37f9a2b 100644 --- a/src/subcommands/record.py +++ b/src/subcommands/record.py @@ -1,5 +1,11 @@ from argparse import Namespace -def run(args: Namespace) -> None: - pass +class Command: + args: Namespace + + def __init__(self, args: Namespace) -> None: + self.args = args + + def run(self) -> None: + pass -- cgit v1.2.3-freya