mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-10-08 12:56:39 +00:00
20 lines
608 B
PHP
Executable File
20 lines
608 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
|
|
use PhpOffice\PhpSpreadsheet\Calculation\Calculation;
|
|
use PhpOffice\PhpSpreadsheetInfra\DocumentGenerator;
|
|
|
|
require_once __DIR__ . '/..' . '/vendor/autoload.php';
|
|
|
|
$phpSpreadsheetFunctions = Calculation::getFunctions();
|
|
ksort($phpSpreadsheetFunctions);
|
|
|
|
file_put_contents(
|
|
__DIR__ . '/../docs/references/function-list-by-category.md',
|
|
DocumentGenerator::generateFunctionListByCategory($phpSpreadsheetFunctions)
|
|
);
|
|
file_put_contents(
|
|
__DIR__ . '/../docs/references/function-list-by-name.md',
|
|
DocumentGenerator::generateFunctionListByName($phpSpreadsheetFunctions)
|
|
);
|