12 lines
287 B
PHP
Executable File
12 lines
287 B
PHP
Executable File
#!/usr/bin/php
|
|
<?php
|
|
// load the config, create the connection and load the repo sepcified on the cmd line args
|
|
// we will then have $client and $repo available
|
|
require('setup.php');
|
|
|
|
//close all issues
|
|
$repo->forIssues(function($issue){
|
|
$issue->state='closed';
|
|
$issue->save();
|
|
});
|