{"id":13559977,"url":"https://github.com/philsturgeon/codeigniter-cli","last_synced_at":"2025-09-13T05:32:31.448Z","repository":{"id":66882808,"uuid":"160531","full_name":"philsturgeon/codeigniter-cli","owner":"philsturgeon","description":"Work with CodeIgniter over the command line with handy prompts, clear screen, etc. ","archived":false,"fork":false,"pushed_at":"2011-08-24T16:42:10.000Z","size":111,"stargazers_count":97,"open_issues_count":1,"forks_count":19,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-16T15:13:38.861Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://getsparks.org/packages/cli/show","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philsturgeon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-03-26T23:50:11.000Z","updated_at":"2024-01-12T13:37:06.000Z","dependencies_parsed_at":"2023-02-20T13:30:48.997Z","dependency_job_id":null,"html_url":"https://github.com/philsturgeon/codeigniter-cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philsturgeon%2Fcodeigniter-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philsturgeon","download_url":"https://codeload.github.com/philsturgeon/codeigniter-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249762358,"owners_count":21321917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:00:35.720Z","updated_at":"2025-04-19T18:24:41.672Z","avatar_url":"https://github.com/philsturgeon.png","language":"PHP","readme":"# CodeIgniter-CLI\n\nInteract with the command line by accepting input options, parameters and output text.\n\n## History\n\nThis library was originally written in 2009 and was... alright. Now it has been totally rewritten based on the FuelPHP CLI library I wrote, which was based on this. MADNESS!\n\n## Requirements\n\n* CodeIgniter 2.0.x\n\n## Examples\n\n\t// Output \"Hello World\" to the CLI\n\t$this-\u003ecli-\u003ewrite('Hello World!');\n\n\t// Waits for any key press\n\t$this-\u003ecli-\u003eprompt();\n\n\t// Takes any input\n\t$color = $this-\u003ecli-\u003eprompt('What is your favorite color?');\n\n\t// Takes any input, but offers default\n\t$color = $this-\u003ecli-\u003eprompt('What is your favorite color?', 'white');\n\n\t// Will only accept the options in the array\n\t$ready = $this-\u003ecli-\u003eprompt('Are you ready?', array('y','n'));\n\n\t$this-\u003ecli-\u003ewrite('Loading...');\n\t$this-\u003ecli-\u003ewait(5, true);","funding_links":[],"categories":["Libraries","CLI"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilsturgeon%2Fcodeigniter-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilsturgeon%2Fcodeigniter-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilsturgeon%2Fcodeigniter-cli/lists"}