From d396863943201c506baa24ada55746e6e7e4978a Mon Sep 17 00:00:00 2001 From: raimon Date: Sat, 11 May 2019 12:36:30 +0900 Subject: [PATCH] Add documents for CLI users in reference to the outline of #33 --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index bcdf12b..2ee4a6b 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Dump the software license list of Python packages installed with pip. * [Confluence](#confluence) * [HTML](#html) * [JSON](#json) + * [CSV](#csv) * [Deprecated options](#deprecated-options) * [Option: summary](#option-summary) * [More Information](#more-information) @@ -291,6 +292,17 @@ When executed with the `--format=json` option, you can output list in JSON forma ``` +#### CSV + +When executed with the `--format=csv` option, you can output list in quoted CSV format. Useful when you want to copy/paste the output to an excel sheet. + +```bash +(venv) $ pip-licenses --format=csv +"Name","Version","License" +"Django","2.0.2","BSD" +"pytz","2017.3","MIT" +``` + #### Deprecated options The following options will be deprecated in version 2.0.0. Please migrate to `--format` option.