Teknik is a suite of services with attractive and functional interfaces. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lessify 414B

1234567891011121314151617181920212223
  1. #!/usr/bin/php
  2. <?php
  3. if (php_sapi_name() != "cli") {
  4. err($fa.$argv[0]." must be run in the command line.");
  5. exit(1);
  6. }
  7. $exe = array_shift($argv); // remove filename
  8. if (!$fname = array_shift($argv)) {
  9. exit("Usage: ".$exe." input-file\n");
  10. }
  11. require "lessify.inc.php";
  12. try {
  13. $parser = new lessify($fname);
  14. echo $parser->parse();
  15. } catch (exception $e) {
  16. exit("Fatal error: ".$e->getMessage()."\n");
  17. }