Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Implement CLI bin scripts for PEAR et. al. #425

Open
@mikeschinkel

Description

@mikeschinkel

For reference: https://stackoverflow.com/a/1385351/102699

From the PHP install on my Mac here are the CLI tools available; these are the "et.al.":

  • pear
  • peardev
  • pecl
  • phar -> phar.phar
  • phar.phar
  • php
  • php-cgi
  • php-config
  • phpdbg
  • phpize

We should ideally make all of them work, but at least pear, pecl, phar and php work for this 0.17.0.

@MickMake Looking at the php script in box-scripts I see that the php script is self-contained. I assume self-containment was a goal when you wrote it but looking forward and considering the nature of our project I think that we should be using an integrated approach instead. IOW, I think all scripts should be comprised of calling lower level box commands.

For example, the current check_image() function, which appears as a copy in at least five places in the source code is very hard to maintain. Better to create a box util check-image command and call it from the php script.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions