You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/general.rst
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ AboutCode Toolkit Defined
9
9
10
10
AboutCode Toolkit is a tool for your software development team to document your code inside your codebase, typically in preparation for a product release, side-by-side with the actual code. ABOUT file(s) have a simple, standard format that identifies components and their associated licenses. The current AboutCode Toolkit subcommands are:
11
11
12
-
- **attrib**: Generate a Product Attribution notice document from your ABOUT file(s), JSON, CSV or Excel. You can also generate documents for other purposes (such as a License Reference) by varying your input control file and your template.
12
+
- **attrib**: Generate a Product Attribution notice document from your ABOUT file(s), JSON, CSV or XLSX. You can also generate documents for other purposes (such as a License Reference) by varying your input control file and your template.
13
13
14
14
- **check**: A simple command to validate the ABOUT file(s) and output errors/warnings if any on the terminal.
15
15
@@ -21,7 +21,7 @@ AboutCode Toolkit is a tool for your software development team to document your
21
21
22
22
- **inventory**: Generate a Software Inventory list (.csv, .json or .xlsx format) from your codebase based on ABOUT file(s). Note that this Software Inventory will only include components that have AboutCode Toolkit data. In another word, if you do not create AboutCode Toolkit files for your own original software components, these components will not show up in the generated inventory.
23
23
24
-
- **transform**: A command to transform an input CSV/JSON/Excel by applying renaming and/or filtering and then output to a new CSV/JSON/Excel file.
24
+
- **transform**: A command to transform an input CSV/JSON/XLSX by applying renaming and/or filtering and then output to a new CSV/JSON/Excel file.
25
25
26
26
Additional AboutCode Toolkit information is available at:
27
27
@@ -173,11 +173,11 @@ Fields Renaming and Optional Custom Fields
173
173
174
174
Since your input's field name may not match with the AboutCode Toolkit standard field name, you can use the transform subcommand to do the transformation.
175
175
176
-
A transform configuration file is used to describe which transformations and validations to apply to a source CSV/JSON/Excel file. This is a simple text file using YAML format, using the same format as an .ABOUT file.
176
+
A transform configuration file is used to describe which transformations and validations to apply to a source CSV/JSON/XLSX file. This is a simple text file using YAML format, using the same format as an .ABOUT file.
177
177
178
178
The attributes that can be set in a configuration file are:
179
179
180
-
- field_renamings: An optional map of source field name to target new field name that is used to rename CSV/JSON/Excel fields.
180
+
- field_renamings: An optional map of source field name to target new field name that is used to rename CSV/JSON/XLSX fields.
181
181
182
182
.. code-block:: none
183
183
@@ -189,7 +189,7 @@ The attributes that can be set in a configuration file are:
189
189
The renaming is always applied first before other transforms and checks. All other field names referenced below are AFTER the renaming have been applied.
190
190
For instance with this configuration, the field "Directory/Location" will be renamed to "about_resource" and "foo" to "bar":
191
191
192
-
- required_fields: An optional list of required field names that must have a value, beyond the standard field names. If a source CSV/JSON/Excel does not have such a field or an entry is missing a value for a required field, an error is reported.
192
+
- required_fields: An optional list of required field names that must have a value, beyond the standard field names. If a source CSV/JSON/XLSX does not have such a field or an entry is missing a value for a required field, an error is reported.
193
193
194
194
For instance with this configuration, an error will be reported if the fields "name" and "version" are missing, or if any entry does not have a value set for these fields:
gen Generate .ABOUT files from an inventory as CSV/JSON/Excel.
35
-
inventory Collect the inventory of .ABOUT files to a CSV/JSON/Excel file.
36
-
transform Transform a CSV/JSON/Excel by applying renamings, filters and checks.
34
+
gen Generate .ABOUT files from an inventory as CSV/JSON/XLSX.
35
+
inventory Collect the inventory of .ABOUT files to a CSV/JSON/XLSX file.
36
+
transform Transform a CSV/JSON/XLSX by applying renamings, filters and checks.
37
37
38
38
attrib
39
39
======
@@ -300,7 +300,7 @@ Syntax
300
300
301
301
about gen [OPTIONS] LOCATION OUTPUT
302
302
303
-
LOCATION: Path to a JSON/CSV/Excel inventory file.
303
+
LOCATION: Path to a JSON/CSV/XLSX inventory file.
304
304
OUTPUT: Path to a directory where ABOUT files are generated.
305
305
306
306
Options
@@ -334,7 +334,7 @@ Options
334
334
Purpose
335
335
-------
336
336
337
-
Given a CSV/JSON/Excel inventory, generate ABOUT files in the output location.
337
+
Given a CSV/JSON/XLSX inventory, generate ABOUT files in the output location.
338
338
339
339
Details
340
340
^^^^^^^
@@ -402,7 +402,7 @@ Syntax
402
402
403
403
about gen_license [OPTIONS] LOCATION OUTPUT
404
404
405
-
LOCATION: Path to a JSON/CSV/Excel/.ABOUT file(s)
405
+
LOCATION: Path to a JSON/CSV/XLSX/.ABOUT file(s)
406
406
OUTPUT: Path to a directory where license files are saved.
407
407
408
408
Options
@@ -468,7 +468,7 @@ Syntax
468
468
about inventory [OPTIONS] LOCATION OUTPUT
469
469
470
470
LOCATION: Path to an ABOUT file or a directory with ABOUT files.
471
-
OUTPUT: Path to the CSV/JSON/Excel inventory file to create.
471
+
OUTPUT: Path to the CSV/JSON/XLSX inventory file to create.
472
472
473
473
Options
474
474
-------
@@ -483,7 +483,7 @@ Options
483
483
Purpose
484
484
-------
485
485
486
-
Create a JSON/CSV/Excel inventory of components from ABOUT files.
486
+
Create a JSON/CSV/XLSX inventory of components from ABOUT files.
487
487
488
488
Details
489
489
^^^^^^^
@@ -566,8 +566,8 @@ Syntax
566
566
567
567
about transform [OPTIONS] LOCATION OUTPUT
568
568
569
-
LOCATION: Path to a CSV/JSON/Excel file.
570
-
OUTPUT: Path to CSV/JSON/Excel inventory file to create.
569
+
LOCATION: Path to a CSV/JSON/XLSX file.
570
+
OUTPUT: Path to CSV/JSON/XLSX inventory file to create.
571
571
572
572
Options
573
573
-------
@@ -584,7 +584,7 @@ Options
584
584
Purpose
585
585
-------
586
586
587
-
Transform the CSV/JSON/Excel file at LOCATION by applying renamings, filters and checks and then write a new CSV/JSON/Excel to OUTPUT (Format for input and output need to be the same).
587
+
Transform the CSV/JSON/XLSX file at LOCATION by applying renamings, filters and checks and then write a new CSV/JSON/Excel to OUTPUT (Format for input and output need to be the same).
0 commit comments