maj nulib-base
This commit is contained in:
parent
50963885f0
commit
637a60a120
@ -2,15 +2,15 @@
|
||||
namespace cli;
|
||||
|
||||
use nulib\app\cli\Application;
|
||||
use nulib\cv;
|
||||
use nulib\ext\tab\SsBuilder;
|
||||
use nulib\ext\tab\SsReader;
|
||||
use nulib\file;
|
||||
use nulib\os\path;
|
||||
use nulib\ValueException;
|
||||
|
||||
class Csv2xlsxApp extends Application {
|
||||
function main() {
|
||||
$input = ValueException::check_null($this->args[0] ?? null);
|
||||
$input = cv::not_null($this->args[0] ?? null, "input");
|
||||
$inputname = path::filename($input);
|
||||
$output = path::ensure_ext($inputname, ".xlsx", ".csv");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user