1+ from __future__ import annotations
2+
13import inspect
24
3- from click import Command , Option
45from InquirerPy import inquirer
56from InquirerPy .validator import EmptyInputValidator
7+ from click import Command , Option
68
79from .custom_group import CustomGroup
10+ from ..utils .cli import clear
811
912
1013class Manager (CustomGroup ):
@@ -15,67 +18,59 @@ def __init__(self) -> None:
1518 def bakcup (self ) -> Command :
1619
1720 help = ""
18- options = [
19- Option ()
20- ]
21+ options = [Option ()]
2122
2223 def callback () -> None :
2324 pass
2425
2526 return Command (
26- name = inspect .currentframe ().f_code .co_name , # type: ignore
27+ name = inspect .currentframe ().f_code .co_name , # type: ignore
2728 help = help ,
2829 callback = callback ,
29- params = options # type: ignore
30+ params = options , # type: ignore
3031 )
31-
32+
3233 def delete (self ) -> Command :
3334
3435 help = ""
35- options = [
36- Option ()
37- ]
36+ options = [Option ()]
3837
3938 def callback () -> None :
4039 pass
4140
4241 return Command (
43- name = inspect .currentframe ().f_code .co_name , # type: ignore
42+ name = inspect .currentframe ().f_code .co_name , # type: ignore
4443 help = help ,
4544 callback = callback ,
46- params = options # type: ignore
45+ params = options , # type: ignore
4746 )
48-
47+
4948 def start (self ) -> Command :
5049
5150 help = ""
52- options = [
53- Option ()
54- ]
51+ options = [Option ()]
5552
5653 def callback () -> None :
5754 pass
5855
5956 return Command (
60- name = inspect .currentframe ().f_code .co_name , # type: ignore
57+ name = inspect .currentframe ().f_code .co_name , # type: ignore
6158 help = help ,
6259 callback = callback ,
63- params = options # type: ignore
60+ params = options , # type: ignore
6461 )
65-
62+
6663 def stop (self ) -> Command :
6764
6865 help = ""
69- options = [
70- Option ()
71- ]
66+ options = [Option ()]
7267
7368 def callback () -> None :
7469 pass
7570
7671 return Command (
77- name = inspect .currentframe ().f_code .co_name , # type: ignore
72+ name = inspect .currentframe ().f_code .co_name , # type: ignore
7873 help = help ,
7974 callback = callback ,
80- params = options # type: ignore
81- )
75+ params = options , # type: ignore
76+ )
0 commit comments