projects
/
pharext
/
pharext
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
s/CliCommand/Cli\Command/g
[pharext/pharext]
/
src
/
pharext
/
Command.php
diff --git
a/src/pharext/Command.php
b/src/pharext/Command.php
index 61b8810adcffd5bb2c65dd116a493743d7e81538..0d30b552eadf2416a02d804ea62926f7d704ce0f 100644
(file)
--- a/
src/pharext/Command.php
+++ b/
src/pharext/Command.php
@@
-7,9
+7,30
@@
namespace pharext;
*/
interface Command
{
*/
interface Command
{
+ /**
+ * Argument error
+ */
+ const EARGS = 1;
+ /**
+ * Build error
+ */
+ const EBUILD = 2;
+ /**
+ * Signature error
+ */
+ const ESIGN = 3;
+ /**
+ * Extract/unpack error
+ */
+ const EEXTRACT = 4;
+ /**
+ * Install error
+ */
+ const EINSTALL = 5;
+
/**
* Retrieve command line arguments
/**
* Retrieve command line arguments
- * @return pharext\CliArgs
+ * @return pharext\Cli
\
Args
*/
public function getArgs();
*/
public function getArgs();