mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
* v2 -> v3 * Increase version within Makefile --------- Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
20 lines
676 B
Go
20 lines
676 B
Go
// This file is Free Software under the MIT License
|
|
// without warranty, see README.md and LICENSES/MIT.txt for details.
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
//
|
|
// SPDX-FileCopyrightText: 2022 German Federal Office for Information Security (BSI) <https://www.bsi.bund.de>
|
|
// Software-Engineering: 2022 Intevation GmbH <https://intevation.de>
|
|
|
|
// Implements a command line tool that uploads csaf documents to csaf_provider.
|
|
package main
|
|
|
|
import "github.com/csaf-poc/csaf_distribution/v3/internal/options"
|
|
|
|
func main() {
|
|
args, cfg, err := parseArgsConfig()
|
|
options.ErrorCheck(err)
|
|
options.ErrorCheck(cfg.prepare())
|
|
p := &processor{cfg: cfg}
|
|
options.ErrorCheck(p.run(args))
|
|
}
|