aboutcode-org / aboutcode-org/scancode-toolkit

Set output destination for generated files

オープン
#2,802 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
new feature
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

By default, to get a file generated by ScanCode, we do need explicitly set filename and/or directory, like:

```
--spdx-tv myfile.tv
--json-pp somedir/myfile.json
```

This presents a problem as when used as underlying tool, the command line config can't be changed all the time

Instead, a common output destination should considered by default as a command line, as together default naming for files, then reducing the overload to type naming for all files. Ex.:

```
--output-content somedir/somesubdir --basename myproject --spdx-tv --json-pp
```
This would end up generating **somedir/somesubdir/myproject.spdx.tv** and **somedir/somesubdir/myproject-prettier.json**

- [x] Enhancement
- [x] Scan Feature

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。