bcpkgfox 0.16.5b13__tar.gz → 0.16.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/PKG-INFO +1 -1
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox/cli.py +18 -16
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox.egg-info/PKG-INFO +1 -1
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/setup.py +1 -1
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/README.md +0 -0
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox/__init__.py +0 -0
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox/exec_file.py +0 -0
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox/find_elements.py +0 -0
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox/get_driver.py +0 -0
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox/invoke_api.py +0 -0
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox/system.py +0 -0
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox.egg-info/SOURCES.txt +0 -0
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox.egg-info/dependency_links.txt +0 -0
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox.egg-info/entry_points.txt +0 -0
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox.egg-info/requires.txt +0 -0
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/bcpkgfox.egg-info/top_level.txt +0 -0
- {bcpkgfox-0.16.5b13 → bcpkgfox-0.16.8}/setup.cfg +0 -0
|
@@ -22,89 +22,91 @@ class cli:
|
|
|
22
22
|
self.venv_manager = self.venv_mangt(self)
|
|
23
23
|
|
|
24
24
|
self.parser = argparse.ArgumentParser(
|
|
25
|
-
add_help=False
|
|
25
|
+
add_help=False,
|
|
26
|
+
description=f"{self.visuals.bold}{self.visuals.DK_ORANGE} BCFOX Library \n You can use the arguments in any order you want.\n\n Most flags are independent, you can use it alone or combine them in a single command interacting with each other when applicable.{self.visuals.RESET}",
|
|
27
|
+
formatter_class=argparse.RawTextHelpFormatter
|
|
26
28
|
)
|
|
27
29
|
|
|
28
30
|
self._setup_arguments()
|
|
29
31
|
|
|
30
32
|
def _setup_arguments(self):
|
|
31
33
|
"""Configure all CLI arguments"""
|
|
32
|
-
venv_group = self.parser.add_argument_group('
|
|
34
|
+
venv_group = self.parser.add_argument_group(f'{self.visuals.ORANGE}{self.visuals.bold} Virtual Environment Options{self.visuals.RESET}')
|
|
33
35
|
venv_group.add_argument(
|
|
34
36
|
'-v', '--venv',
|
|
35
37
|
action='store_true',
|
|
36
|
-
help="Creates a new virtual environment with all dependencies installed"
|
|
38
|
+
help="Creates a new virtual environment with all dependencies installed\n"
|
|
37
39
|
)
|
|
38
40
|
|
|
39
41
|
venv_group.add_argument(
|
|
40
42
|
'-vc', '--venv-clean',
|
|
41
43
|
action='store_true',
|
|
42
|
-
help="Creates a virtual environment without dependencies"
|
|
44
|
+
help="Creates a virtual environment without dependencies\n"
|
|
43
45
|
)
|
|
44
46
|
|
|
45
47
|
venv_group.add_argument(
|
|
46
48
|
'-rv', '--recreate-venv',
|
|
47
49
|
action='store_true',
|
|
48
|
-
help="Recreates venv (without dependencies)"
|
|
50
|
+
help="Recreates venv (without dependencies)\n"
|
|
49
51
|
)
|
|
50
52
|
|
|
51
53
|
venv_group.add_argument(
|
|
52
54
|
'-dv', '--delete-venv',
|
|
53
55
|
action='store_true',
|
|
54
|
-
help="Deletes venv"
|
|
56
|
+
help="Deletes venv\n"
|
|
55
57
|
)
|
|
56
58
|
|
|
57
59
|
|
|
58
|
-
exe_group = self.parser.add_argument_group('.
|
|
60
|
+
exe_group = self.parser.add_argument_group(f'{self.visuals.ORANGE}{self.visuals.bold} Exe options{self.visuals.RESET}')
|
|
59
61
|
exe_group.add_argument(
|
|
60
62
|
'-e', '--exe',
|
|
61
63
|
action='store_true',
|
|
62
|
-
help="Creates a .exe of the file"
|
|
64
|
+
help="Creates a .exe of the file\n"
|
|
63
65
|
)
|
|
64
66
|
|
|
65
67
|
exe_group.add_argument(
|
|
66
68
|
'-nc', '--no-console',
|
|
67
69
|
action='store_true',
|
|
68
|
-
help="The exe don't open the console when started"
|
|
70
|
+
help="The exe don't open the console when started\n"
|
|
69
71
|
)
|
|
70
72
|
|
|
71
73
|
exe_group.add_argument(
|
|
72
74
|
'-z', '--zip',
|
|
73
75
|
action='store_true',
|
|
74
|
-
help="Make a zip of the 'dist' and rename it to the name of the file"
|
|
76
|
+
help="Make a zip of the 'dist' and rename it to the name of the file\n"
|
|
75
77
|
)
|
|
76
78
|
|
|
77
79
|
exe_group.add_argument(
|
|
78
80
|
'-ic', '--icon',
|
|
79
81
|
type=str,
|
|
80
82
|
nargs='+',
|
|
81
|
-
help="Change the exe icon (put .ico path)"
|
|
83
|
+
help="Change the exe icon (put .ico path)\n"
|
|
82
84
|
)
|
|
83
85
|
|
|
84
86
|
exe_group.add_argument(
|
|
85
87
|
'-ad', '--add-data',
|
|
86
88
|
type=str,
|
|
87
89
|
nargs='+',
|
|
88
|
-
help="Add data(s) to .exe (similar of pyinstaller)"
|
|
90
|
+
help="Add data(s) to .exe (similar of pyinstaller)\n"
|
|
89
91
|
)
|
|
90
92
|
|
|
91
|
-
file_group = self.parser.add_argument_group('
|
|
93
|
+
file_group = self.parser.add_argument_group(f'{self.visuals.ORANGE}{self.visuals.bold} File Options{self.visuals.RESET}')
|
|
92
94
|
file_group.add_argument(
|
|
93
95
|
'-fi', '--find-imports',
|
|
94
96
|
action='store_true',
|
|
95
|
-
help="Finds all imports necessary for the lib to work"
|
|
97
|
+
help="Finds all imports necessary for the lib to work\n"
|
|
96
98
|
)
|
|
97
99
|
|
|
98
100
|
file_group.add_argument(
|
|
99
101
|
'-vi', '--verify-imports',
|
|
100
102
|
action='store_true',
|
|
101
|
-
help="Shows imports that were not installed automatically"
|
|
103
|
+
help="Shows imports that were not installed automatically\n"
|
|
102
104
|
)
|
|
103
105
|
|
|
104
106
|
file_group.add_argument(
|
|
105
107
|
'-i', '--install-imports',
|
|
106
108
|
action='store_true',
|
|
107
|
-
help="Installs all imports necessary for the lib to work"
|
|
109
|
+
help="Installs all imports necessary for the lib to work\n"
|
|
108
110
|
)
|
|
109
111
|
|
|
110
112
|
self.parser.add_argument(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|