orionis 0.545.0__py3-none-any.whl → 0.546.0__py3-none-any.whl

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.
@@ -100,8 +100,8 @@ class CLIRequest(ICLIRequest):
100
100
 
101
101
  def __init__(
102
102
  self,
103
- command: str,
104
- args: dict
103
+ command: str = "__unknown__",
104
+ args: dict = {}
105
105
  ):
106
106
  """
107
107
  Initialize a CLI request object with command line arguments.
@@ -0,0 +1,44 @@
1
+ from orionis.console.contracts.cli_request import ICLIRequest
2
+ from orionis.console.request.cli_request import CLIRequest
3
+ from orionis.container.providers.service_provider import ServiceProvider
4
+
5
+ class CLRequestProvider(ServiceProvider):
6
+ """
7
+ Service provider for registering CLI request services in the Orionis framework.
8
+
9
+ This provider handles the registration and binding of CLI request interfaces
10
+ to their concrete implementations within the application container.
11
+ """
12
+
13
+ def register(self) -> None:
14
+ """
15
+ Register CLI request services in the application container.
16
+
17
+ Binds the ICLIRequest interface to the CLIRequest implementation as a
18
+ transient service, making it available for dependency injection throughout
19
+ the application with the specified alias.
20
+
21
+ Returns
22
+ -------
23
+ None
24
+ This method does not return any value.
25
+ """
26
+ # Register CLIRequest as a transient service bound to ICLIRequest interface
27
+ # Transient services create a new instance each time they are resolved
28
+ self.app.transient(ICLIRequest, CLIRequest, alias="x-orionis.console.request.cli_request")
29
+
30
+ def boot(self) -> None:
31
+ """
32
+ Perform any necessary bootstrapping after service registration.
33
+
34
+ This method is called after all services have been registered and can be
35
+ used to perform additional setup or configuration tasks. Currently, no
36
+ bootstrapping logic is required for CLI request services.
37
+
38
+ Returns
39
+ -------
40
+ None
41
+ This method does not return any value.
42
+ """
43
+ # No bootstrapping logic required for CLI request services
44
+ pass
@@ -5,7 +5,7 @@
5
5
  NAME = "orionis"
6
6
 
7
7
  # Current version of the framework
8
- VERSION = "0.545.0"
8
+ VERSION = "0.546.0"
9
9
 
10
10
  # Full name of the author or maintainer of the project
11
11
  AUTHOR = "Raul Mauricio Uñate Castro"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: orionis
3
- Version: 0.545.0
3
+ Version: 0.546.0
4
4
  Summary: Orionis Framework – Elegant, Fast, and Powerful.
5
5
  Home-page: https://github.com/orionis-framework/framework
6
6
  Author: Raul Mauricio Uñate Castro
@@ -80,7 +80,7 @@ orionis/console/output/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
80
80
  orionis/console/output/console.py,sha256=EtSDWRBW8wk0iJdPfB1mzU49krLJBaSAUdVdVOzzhQ4,17888
81
81
  orionis/console/output/executor.py,sha256=uQjFPOlyZLFj9pcyYPugCqxwJog0AJgK1OcmQH2ELbw,7314
82
82
  orionis/console/request/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
83
- orionis/console/request/cli_request.py,sha256=YrjwEpFlEcUrCqKlFD8v1sxj0zjAOCFIFxmsP-5bq4Q,9058
83
+ orionis/console/request/cli_request.py,sha256=0LuSuovIJn6BF3HfDHihVZRmMTss-xd21dvUYCuMF3I,9079
84
84
  orionis/console/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
85
85
  orionis/console/tasks/schedule.py,sha256=FgZWJtfXRcZ_-FfJaxP1LzHmDtm5QD9QRRCJ--QMqK8,83385
86
86
  orionis/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -227,6 +227,7 @@ orionis/foundation/exceptions/type.py,sha256=Ug51YdaUKUlbngR0KeWnJNqIwS9StP4ScVo
227
227
  orionis/foundation/exceptions/value.py,sha256=hQhXybXEnaa59ba7JxG65jceHt3mnql9MyekF-TChpM,465
228
228
  orionis/foundation/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
229
229
  orionis/foundation/providers/catch_provider.py,sha256=jLEFyHeyqCWgIJfqSfXrbRm9h6M6M5IkW8M_9o_NvCQ,1701
230
+ orionis/foundation/providers/cli_request_provider.py,sha256=hTBhBRr9TZhER3Lw7q2mNXRbG_BKl-WEuvV0R1bPjbs,1758
230
231
  orionis/foundation/providers/console_provider.py,sha256=p4XucSau5Nc8-u2xbVg2LAXDC9UXo6qhHD58u1g2T4Q,2963
231
232
  orionis/foundation/providers/directory_provider.py,sha256=17Euot2Eahe8DjK0zK2uC3c8gPua4eux3q-MKcomDYU,2091
232
233
  orionis/foundation/providers/dumper_provider.py,sha256=mWBfnZUo-AKPEz1_Ele3lgaqR4bOcA8msvjV9KKZJQk,3348
@@ -240,7 +241,7 @@ orionis/foundation/providers/scheduler_provider.py,sha256=1do4B09bU_6xbFHHVYYTGM
240
241
  orionis/foundation/providers/testing_provider.py,sha256=SrJRpdvcblx9WvX7x9Y3zc7OQfiTf7la0HAJrm2ESlE,3725
241
242
  orionis/foundation/providers/workers_provider.py,sha256=oa_2NIDH6UxZrtuGkkoo_zEoNIMGgJ46vg5CCgAm7wI,3926
242
243
  orionis/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
243
- orionis/metadata/framework.py,sha256=CL-Cod4cOJrfGqfJEh-a0cH_FmCUti8s3PGf9QZlSCQ,4109
244
+ orionis/metadata/framework.py,sha256=POdws21N2BbLOVlk9KMaBmScjWHhYsmtQlLU-bXzc6s,4109
244
245
  orionis/metadata/package.py,sha256=k7Yriyp5aUcR-iR8SK2ec_lf0_Cyc-C7JczgXa-I67w,16039
245
246
  orionis/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
246
247
  orionis/services/asynchrony/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -431,7 +432,7 @@ orionis/test/validators/web_report.py,sha256=n9BfzOZz6aEiNTypXcwuWbFRG0OdHNSmCNu
431
432
  orionis/test/validators/workers.py,sha256=rWcdRexINNEmGaO7mnc1MKUxkHKxrTsVuHgbnIfJYgc,1206
432
433
  orionis/test/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
433
434
  orionis/test/view/render.py,sha256=f-zNhtKSg9R5Njqujbg2l2amAs2-mRVESneLIkWOZjU,4082
434
- orionis-0.545.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
435
+ orionis-0.546.0.dist-info/licenses/LICENCE,sha256=JhC-z_9mbpUrCfPjcl3DhDA8trNDMzb57cvRSam1avc,1463
435
436
  tests/container/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
436
437
  tests/container/context/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
437
438
  tests/container/context/test_manager.py,sha256=wOwXpl9rHNfTTexa9GBKYMwK0_-KSQPbI-AEyGNkmAE,1356
@@ -577,8 +578,8 @@ tests/testing/validators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
577
578
  tests/testing/validators/test_testing_validators.py,sha256=WPo5GxTP6xE-Dw3X1vZoqOMpb6HhokjNSbgDsDRDvy4,16588
578
579
  tests/testing/view/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
579
580
  tests/testing/view/test_render.py,sha256=tnnMBwS0iKUIbogLvu-7Rii50G6Koddp3XT4wgdFEYM,1050
580
- orionis-0.545.0.dist-info/METADATA,sha256=Ok4Qo289ADmxFH0S0lFmzAZxiczEkXd4lR8R872Dqv4,4801
581
- orionis-0.545.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
582
- orionis-0.545.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
583
- orionis-0.545.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
584
- orionis-0.545.0.dist-info/RECORD,,
581
+ orionis-0.546.0.dist-info/METADATA,sha256=3Xo0oyRfbPnIrjL2PWCabk-8zdOHbKNTeqXc8cvKcrA,4801
582
+ orionis-0.546.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
583
+ orionis-0.546.0.dist-info/top_level.txt,sha256=2bdoHgyGZhOtLAXS6Om8OCTmL24dUMC_L1quMe_ETbk,14
584
+ orionis-0.546.0.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
585
+ orionis-0.546.0.dist-info/RECORD,,