projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
looking for wrong seperator
[Pman.Core]
/
Cli.php
diff --git
a/Cli.php
b/Cli.php
index
13230cb
..
2169456
100644
(file)
--- a/
Cli.php
+++ b/
Cli.php
@@
-1,11
+1,11
@@
<?php
/*
<?php
/*
-
+ Base class for CLI only commands
*/
*/
-
+require_once 'Pman.php';
class Pman_Core_Cli extends Pman
{
static $cli_desc = "Base class for CLI only commands";
class Pman_Core_Cli extends Pman
{
static $cli_desc = "Base class for CLI only commands";
@@
-19,9
+19,13
@@
class Pman_Core_Cli extends Pman
}
}
- function get()
+ function get(
$v, $opts = Array()
)
{
die("this is only used as a base class for Cli based commands - extend to use.");
}
{
die("this is only used as a base class for Cli based commands - extend to use.");
}
-
+
+ function output()
+ {
+ die("CLI - output exit\n");
+ }
}
\ No newline at end of file
}
\ No newline at end of file