// Copyright 2014-2025 Jesper Larsson
//
// This file is part of Klipspringer, <https://klipspringer.avadeaux.net/>
//
// Klipspringer is free software: you can redistribute it and/or modify it under the terms of the
// GNU General Public License as published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// Klipspringer is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
// even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License along with Klipspringer. If
// not, see <https://www.gnu.org/licenses/>.

import { klipicon, kliplogo } from './svg_images.js';

const command = process.argv[2];
switch (command) {
case 'icon':
    console.log(klipicon);
    break;
case 'logo':
    console.log(kliplogo);
    break;
case 'overview':
    console.log("<body>\n"
                +"<a href=\"https://klipspringer.avadeaux.net/\">"+kliplogo+"</a>\n"
                +"<h1>Klipspringer codec library</h1>\n"
                +"<p>This is part of the Klipspringer music playing software<br>\n"
                +"&#xa9; 2014&#x2013;2025 Jesper Larsson, "
                +"released as free software under GPL version 3 or later.<br>\n"
                +"See also <a href=\"https://klipspringer.avadeaux.net/guide/flac-decoding/\">"
                +"klipspringer.avadeaux.net/guide/flac-decoding/</a>.\n"
                +"</body>");
    break;
default:
    log.error("Unknown command: "+command);
}

Version: v4.3.2.2 (2026-05-16T17:03:34+02:00)
Raw file
Source code overview
Klipspringer home