projects
/
Pman.Core
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of http://git.roojs.com:8081/Pman.Core
[Pman.Core]
/
Cli.php
1
<?php
2
/*
3
4
5
6
*/
7
8
9
class Pman_Core_Cli extends Pman
10
{
11
static $cli_desc = "Base class for CLI only commands";
12
13
function getAuth()
14
{
15
$ff = HTML_FlexyFramework::get();
16
if (!$ff->cli) {
17
die("CLI ONLY");
18
}
19
}
20
21
22
function get()
23
{
24
die("this is only used as a base class for Cli based commands - extend to use.");
25
}
26
27
}