projects
/
m6w6
/
seekat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
update to PHP-8.1
[m6w6/seekat]
/
examples
/
cli.php
diff --git
a/examples/cli.php
b/examples/cli.php
old mode 100644
(file)
new mode 100755
(executable)
index
650ca85
..
6da8815
--- a/
examples/cli.php
+++ b/
examples/cli.php
@@
-1,10
+1,8
@@
+#!/usr/bin/env php
<?php
-
require_once __DIR__."/../vendor/autoload.php
";
+
$api = include "examples.inc
";
-$api = new seekat\API([
- "Authorization" => "token ".getenv("GITHUB_TOKEN")
-]);
array_shift($argv);
($self = function($api) use(&$self) {