46 Commits

Author SHA1 Message Date
Natan Felles
87c70ee0f0
Update docs 2017-10-31 20:55:11 -02:00
Natan Felles
c1080a259b
Add validation to prompt 2017-10-31 20:07:39 -02:00
markus
2e48006869 If tput cols returns 0, the default value should be returned. This caused, among other things, an error for the test "testWrap" (system / CLI / CLITest.php), since the console width can not be 0 in the normal case 2017-10-27 18:32:49 +02:00
Lonnie Ezell
87a8d3e684
Removed extension from cli scripts and renamed ci.php to spark. Fixes #633 2017-08-27 23:26:07 -05:00
Abdul Malik Ikhsan
a76900043e
use empty() check instead of == [] compare 2017-08-09 08:07:18 +07:00
Abdul Malik Ikhsan
6c8b126eeb
remove unused $max variable inside closure at CLI::wrap() 2017-08-08 13:44:37 +07:00
Lonnie Ezell
6765c6e27c Merge pull request #666 from samsonasik/count-improve
count() usage improvement: replace with empty() when possible, assign to variable on loop
2017-08-07 22:58:39 -05:00
Abdul Malik Ikhsan
88f8dfb7fa
count() usage improvement: replace with empty() when possible, assign to variable on loop 2017-08-08 08:19:29 +07:00
Abdul Malik Ikhsan
1d08adf9b2
replace array() with short array syntax [] 2017-08-08 07:46:43 +07:00
Natan Felles
f490ccb9b6
Set some PHPDocs in CLI 2017-07-24 23:25:31 -03:00
Natan Felles
41ab103c72
Set PHPDocs 2017-07-23 11:34:40 -03:00
Master Yoda
fcce549142
Update (2) copyright comments per phpDocumentor 2017-07-13 14:20:27 -07:00
Master Yoda
bda7c8a252
Update copyright comments per phpDocumentor 2017-07-13 10:22:49 -07:00
KazuakiM
9ee8e6e7a1 Add system/CLI/CLI tests code 2017-06-16 00:48:02 +09:00
ytetsuro
c76e6901e7
Change Indent space4 to tab
Signed-off-by: ytetsuro <phper.0o0@gmail.com>
2017-03-30 00:26:09 +09:00
Basel Juma
64afdf3c34 Fix code styling & formatting issues 2017-03-19 09:28:29 +02:00
Basel Juma
810187b8a8 Add help functionality to existing commands 2017-03-14 02:04:25 +02:00
Basel Juma
e9914bd174 Add Help functionality 2017-03-14 01:04:54 +02:00
Lonnie Ezell
b85298dca3
Get CLI parameters working again. Fixes #422 2017-03-06 23:14:22 -06:00
kenjis
d2c1e128ad
Fix indentation
Replace white spaces with tabs
2017-02-04 16:36:08 +09:00
Lonnie Ezell
473aa90595 Merge pull request #384 from jim-parry/fix/https-links
Update license & site link to https://
2017-01-26 22:48:43 -06:00
Master Yoda
ef24a9a519
Add missing copyright header blocks 2017-01-20 00:57:53 -08:00
Master Yoda
b6247d1196
Update license & site link to https:// 2017-01-20 00:45:11 -08:00
Abdul Malik Ikhsan
1df323e1bd
set default $text parameter value as "" in CLI::write() 2017-01-20 09:14:32 +07:00
Lonnie Ezell
1dacecf9d6
Refactor CLI tools to use the CodeIgniter instance directly, instead of passing through index.php. 2017-01-16 00:13:22 -06:00
Lonnie Ezell
094f6756a8
New Command to generate Database sessions table migration file. 2017-01-02 00:04:25 -06:00
Master Yoda
bf3e165bfe
Updated copyright to 2017 2016-12-30 12:47:28 -08:00
Lonnie Ezell
da09c7867c Merge branch 'develop' into feature/cli 2016-12-27 23:26:44 -06:00
TAKEKOSHI Akishige
115225aee0
fix CLI::showProgress()'s message 2016-12-23 16:30:06 +09:00
Lonnie Ezell
bcee935a76
Good portion of CLI command docs done. Small bug-fixes for commands. 2016-12-20 00:03:47 -06:00
Lonnie Ezell
0c69e22bb4
Refactored database CLI tools into Commands. 2016-12-16 23:08:15 -06:00
Lonnie Ezell
49ec1083e5
Working command structure in place. Just need docs and re-implement the Migration and Seed tools as commands. 2016-12-16 00:00:46 -06:00
Lonnie Ezell
d0a8f7bd64
Getting a generic command runner in place. 2016-12-13 00:08:33 -06:00
Lonnie Ezell
1d74d63f04
Starting work on a CLI tool we can use and open up to developers. 2016-12-08 00:42:27 -06:00
David Gonzalez
504bc7a142 Remove type-hinting in showProgress Method (CLI Library) 2016-09-12 16:47:12 +02:00
David Gonzalez
24e6d8367f CLI problem with progress complete's message. 2016-09-12 15:27:52 +02:00
Master Yoda
4d768e47f1 Add back return type hinting, after updating to phpDocumentor 2.9
Signed-off-by:Master Yoda <jim_parry@bcit.ca>
2016-05-27 09:40:26 -07:00
Lonnie Ezell
cae09848f1 Added CLI docs 2016-05-26 22:56:10 -05:00
Master Yoda
e10c37bd93 Fix phpdoc issues, including its not handling PHP7 return type hinting :(
I have put off heavy changes to the Session package documentation, as there is an outstanding PR for it.
Signed-off-by:Master Yoda <jim_parry@bcit.ca>
2016-05-24 12:14:22 -07:00
Lonnie Ezell
59d3d3c855 Seeder fixing. 2016-04-26 23:40:22 -05:00
Lonnie Ezell
30910f3fb6 Removing some illogical checks in CLI library. Stop setting defaults on required elements. 2016-03-21 00:41:10 -05:00
Lonnie Ezell
47e5f963e1 Ensure empty lines at ends of files. 2016-03-18 22:04:59 -05:00
Lonnie Ezell
ccb05f2a9c Standardizing boolean operators 2016-03-18 00:47:45 -05:00
Lonnie Ezell
18f288f523 Removing EllisLab from the copyrights 2016-02-01 21:32:53 -06:00
Lonnie Ezell
174037d466 Adding CI Docblock with copyright to system files. 2016-01-31 21:39:50 -06:00
Lonnie Ezell
7cca7b0810 New CLI class for working with the shell interactively. 2015-12-02 23:00:25 -06:00