From ccd5b296f3f3fe977bdd44ee8b28c7b4a3c3c85a Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Tue, 27 Aug 2024 14:51:06 -0400 Subject: [PATCH] Descriptions --- cli/src/Command/Comunas.php | 3 ++- cli/src/Command/Full.php | 23 +++++++++----------- cli/src/Command/Money/IPC.php | 3 ++- cli/src/Command/Money/UF.php | 3 ++- cli/src/Command/Money/UF/Update.php | 3 ++- cli/src/Command/Proyectos/Activos.php | 3 ++- cli/src/Command/Ventas/Cierres/Vigentes.php | 3 ++- cli/src/Command/Ventas/Cuotas/Hoy.php | 3 ++- cli/src/Command/Ventas/Cuotas/Pendientes.php | 3 ++- cli/src/Command/Ventas/Cuotas/PorVencer.php | 3 ++- 10 files changed, 28 insertions(+), 22 deletions(-) diff --git a/cli/src/Command/Comunas.php b/cli/src/Command/Comunas.php index 0db83ce..072980e 100644 --- a/cli/src/Command/Comunas.php +++ b/cli/src/Command/Comunas.php @@ -5,7 +5,8 @@ use Symfony\Component\Console; use Incoviba\Common\Alias\Command; #[Console\Attribute\AsCommand( - name: 'comunas' + name: 'comunas', + description: 'Obtiene las comunas de una región' )] class Comunas extends Command { diff --git a/cli/src/Command/Full.php b/cli/src/Command/Full.php index 9eba9f2..5661650 100644 --- a/cli/src/Command/Full.php +++ b/cli/src/Command/Full.php @@ -1,28 +1,25 @@ commandsList as $command) { $cmd = new Console\Input\ArrayInput([ 'command' => $command ]); diff --git a/cli/src/Command/Money/IPC.php b/cli/src/Command/Money/IPC.php index 7ed75b4..f165fc3 100644 --- a/cli/src/Command/Money/IPC.php +++ b/cli/src/Command/Money/IPC.php @@ -7,7 +7,8 @@ use Symfony\Component\Console; use Incoviba\Common\Alias\Command; #[Console\Attribute\AsCommand( - name: 'money:ipc' + name: 'money:ipc', + description: 'Fetch IPC data from the API' )] class IPC extends Command { diff --git a/cli/src/Command/Money/UF.php b/cli/src/Command/Money/UF.php index 7e700ce..3511622 100644 --- a/cli/src/Command/Money/UF.php +++ b/cli/src/Command/Money/UF.php @@ -6,7 +6,8 @@ use Symfony\Component\Console; use Incoviba\Common\Alias\Command; #[Console\Attribute\AsCommand( - name: 'money:uf' + name: 'money:uf', + description: 'Get the UF value for today' )] class UF extends Command { diff --git a/cli/src/Command/Money/UF/Update.php b/cli/src/Command/Money/UF/Update.php index 13df8a6..b090d9d 100644 --- a/cli/src/Command/Money/UF/Update.php +++ b/cli/src/Command/Money/UF/Update.php @@ -6,7 +6,8 @@ use Symfony\Component\Console; use Incoviba\Common\Alias\Command; #[Console\Attribute\AsCommand( - name: 'money:uf:update' + name: 'money:uf:update', + description: 'Update UF value' )] class Update extends Command { diff --git a/cli/src/Command/Proyectos/Activos.php b/cli/src/Command/Proyectos/Activos.php index a3d941a..e23722e 100644 --- a/cli/src/Command/Proyectos/Activos.php +++ b/cli/src/Command/Proyectos/Activos.php @@ -5,7 +5,8 @@ use Symfony\Component\Console; use Incoviba\Common\Alias\Command; #[Console\Attribute\AsCommand( - name: 'proyectos:activos' + name: 'proyectos:activos', + description: 'Obtiene los proyectos activos' )] class Activos extends Command { diff --git a/cli/src/Command/Ventas/Cierres/Vigentes.php b/cli/src/Command/Ventas/Cierres/Vigentes.php index 0ee10cc..809a58a 100644 --- a/cli/src/Command/Ventas/Cierres/Vigentes.php +++ b/cli/src/Command/Ventas/Cierres/Vigentes.php @@ -5,7 +5,8 @@ use Symfony\Component\Console; use Incoviba\Common\Alias\Command; #[Console\Attribute\AsCommand( - name: 'ventas:cierres:vigentes' + name: 'ventas:cierres:vigentes', + description: 'Obtiene los cierres de ventas vigentes' )] class Vigentes extends Command { diff --git a/cli/src/Command/Ventas/Cuotas/Hoy.php b/cli/src/Command/Ventas/Cuotas/Hoy.php index 3fa17c2..337f59a 100644 --- a/cli/src/Command/Ventas/Cuotas/Hoy.php +++ b/cli/src/Command/Ventas/Cuotas/Hoy.php @@ -5,7 +5,8 @@ use Symfony\Component\Console; use Incoviba\Common\Alias\Command; #[Console\Attribute\AsCommand( - name: 'ventas:cuotas:hoy' + name: 'ventas:cuotas:hoy', + description: 'Obtiene las cuotas de ventas que vencen hoy' )] class Hoy extends Command { diff --git a/cli/src/Command/Ventas/Cuotas/Pendientes.php b/cli/src/Command/Ventas/Cuotas/Pendientes.php index 576475e..b8b6daa 100644 --- a/cli/src/Command/Ventas/Cuotas/Pendientes.php +++ b/cli/src/Command/Ventas/Cuotas/Pendientes.php @@ -5,7 +5,8 @@ use Symfony\Component\Console; use Incoviba\Common\Alias\Command; #[Console\Attribute\AsCommand( - name: 'ventas:cuotas:pendientes' + name: 'ventas:cuotas:pendientes', + description: 'Obtiene las cuotas pendientes de pago' )] class Pendientes extends Command { diff --git a/cli/src/Command/Ventas/Cuotas/PorVencer.php b/cli/src/Command/Ventas/Cuotas/PorVencer.php index 30849b3..9f90539 100644 --- a/cli/src/Command/Ventas/Cuotas/PorVencer.php +++ b/cli/src/Command/Ventas/Cuotas/PorVencer.php @@ -5,7 +5,8 @@ use Symfony\Component\Console; use Incoviba\Common\Alias\Command; #[Console\Attribute\AsCommand( - name: 'ventas:cuotas:vencer' + name: 'ventas:cuotas:vencer', + description: 'Obtiene las cuotas por vencer' )] class PorVencer extends Command {