Commit Graph

47 Commits

Author SHA1 Message Date
c5316826af Header update on all the files
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@6095 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2020-09-07 14:08:26 +00:00
7864fe8628 Cli : update to solve domci
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4159 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-13 08:01:19 +00:00
ed1e4ee167 cli : Add controllersDir and modelsDir methods to set multiple pathes for controllers and models
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4158 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-10 19:10:45 +00:00
da6358dc3c Cli : remove the auth user from cli : not valid everywhere
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4149 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2018-03-06 19:55:52 +00:00
b55ea95fae DomCI : Update all the PHPDoc
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3279 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-12-09 14:47:48 +00:00
af404818e5 cli : If the provided argument is -?, display the variable with the phpdoc associated
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3070 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-09-22 12:33:38 +00:00
8d9c1340ba cli : go to the main directory in the constructor to allow configuration reading
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2999 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-08-16 08:20:49 +00:00
97194883b8 cli : argv must be global to be used
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2991 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-08-03 11:49:41 +00:00
901bc4ddc0 cli : change the directory as soon as the cli object is created
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2985 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-08-03 08:17:52 +00:00
75499a6639 cli : display the complete string instead of truncate it
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2758 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-10 08:04:02 +00:00
3bda1f7c63 cli : code presentation
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2737 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-31 13:21:37 +00:00
4e8cda29b2 cli : update help message
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2734 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-24 07:53:41 +00:00
93f2ee9e7e cli : update docComment
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2733 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-24 07:46:41 +00:00
a573f6b393 cli : catch correctely the classes names
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2732 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-24 07:45:32 +00:00
c4348b3662 cli : update docComment
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2731 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-24 07:31:54 +00:00
af95946def cli : add a "-q" option to not display the return code
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2730 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-23 19:35:17 +00:00
b403cb41ea cli : Add more information ihow to find the class name when there is no class provided.
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2729 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-23 19:15:25 +00:00
f7c903e0f1 cli : allow the controllers\\ to be optional
cli : allow the models\\ or controllers\\ to be optional if the name of the class is unique


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2728 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-05-23 19:08:43 +00:00
60c80c8351 cli.php : revert the last commit
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2591 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-29 13:42:27 +00:00
74f2810d9e Add the execution flag in SVN for cli.php
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2590 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-02-29 13:39:04 +00:00
d2bba22013 cli : don't display the private/protected methods, they can't be called
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2363 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-14 05:44:17 +00:00
4c5e06011b cli : if no controller or models exists, return nothing in listonly mode (bash_completion)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2361 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-10-13 16:03:44 +00:00
37c8f4a443 cli : the classes displayed by -list option have now the \\ instead of \ to be easier to collate in shell
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2324 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-25 11:52:35 +00:00
937f071960 cli : add support to namespaces
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2292 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-09-17 13:20:58 +00:00
82b35c115c Forec auth to CLI when using CLI
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1907 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-01-06 09:12:26 +00:00
8d7f1549e8 Display the call stack in Expert mode of CLI
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1747 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-21 09:42:59 +00:00
080d0c2e16 Add a space in place of dash
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1734 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-19 09:17:40 +00:00
526349a5d4 Add the error level in cli
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1733 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-19 09:17:00 +00:00
8056491a1a Add error management in CLI (display the trigger_errors in stderr)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1732 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-19 09:05:55 +00:00
a886b63eb3 Allow to display the controllers and the methods line by line to be parseable
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1722 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-18 09:53:04 +00:00
9fef934b71 Cosmetics : remove spaces at the end of lines and correct lines with more than 80 chars
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1643 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-08-01 07:11:14 +00:00
09e5365124 cli : BUG : Removing Strict Standard warning
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1513 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-07-01 16:26:37 +00:00
aa26715645 A variable was used without initialisation in CLI
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1440 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-06-12 14:17:17 +00:00
20db47f64f Bug inserted in last commit : the dash in parameters is converted in array in place to be read as string
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1366 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-05-28 17:45:53 +00:00
a0a5cade28 Remove warning in CLI usage
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1365 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-05-28 14:19:09 +00:00
f87874ca03 Don't look at & in stdin entries in CLI
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1343 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-05-22 09:17:53 +00:00
45077d166c Remove "PHP Strict Standards: Only variables should be passed by reference" warning in CLI
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1329 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-05-21 19:32:50 +00:00
7b8f0940b4 Add a tip in help of cli
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1281 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-04-21 18:50:59 +00:00
6d50f264f5 Cli must allow @ or spaces in array keys. Replace the parse_str function to hand made function
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1280 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-04-21 18:47:15 +00:00
3f72772aec Add support to parameter of constructor in CLI. Actually, the parameter must not be optionnal
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1279 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-04-21 15:57:20 +00:00
350aa1dea8 Add all the phpdocs to the domframework
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1246 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-24 19:44:34 +00:00
1d85cbd5e9 Add array support in CLI (and update the documentation)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1241 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-24 12:41:06 +00:00
04e13afe42 Add the Exception error management in CLI (display only the message in normal mode, and display all the trace in expert mode)
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1237 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-22 15:30:19 +00:00
d34b80e30d Simplify the cli.php by using call_user_func_array() to launch the method in the class
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1236 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-22 15:23:37 +00:00
00af80827e Add a blank line to cli to be more readable
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1216 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-03-10 13:52:04 +00:00
8f2767ce99 Cosmetic change : add a blank line
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1214 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-28 09:27:22 +00:00
8b96e19467 First version of CLI support
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1212 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-02-28 09:22:18 +00:00