aboutcode-org / aboutcode-org/scancode-toolkit

Set output destination for generated files

Đang mở
#2,802 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
new feature
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.