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: content/api/cli.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,11 +28,11 @@ In these commands:
28
28
29
29
## Validating declarations
30
30
31
-
{{< refItem name="ota validate [--services <service_id>...][--types <terms_type>...]" description="Check that all declarations allow recording a snapshot and a version properly. If service IDs are provided, check only those services." example="npx ota validate --services \"Facebook\"\"LinkedIn\"--types \"Privacy Policy\"\"Terms of Service\"" />}}
31
+
{{< refItem name="ota validate declarations [--services <service_id>...][--types <terms_type>...]" description="Check that all declarations allow recording a snapshot and a version properly. If service IDs are provided, check only those services." example="npx ota validate declarations --services \"Facebook\" --types \"Privacy Policy\"" />}}
32
32
33
-
{{< refItem name="ota validate --schema-only [--services <service_id>...][--types <terms_type>...]" description="Check that all declarations are readable by the engine. Allows for a much faster check of declarations, but does not check that the terms are actually accessible." example="npx ota validate --schema-only --services \"Facebook\"\"LinkedIn\"--types \"Privacy Policy\"\"Terms of Service\"" />}}
33
+
{{< refItem name="ota validate declarations --schema-only [--services <service_id>...][--types <terms_type>...]" description="Check that all declarations are readable by the engine. Allows for a much faster check of declarations, but does not check that the terms are actually accessible." example="npx ota validate declarations --schema-only --services \"Facebook\" --types \"Privacy Policy\"" />}}
34
34
35
-
{{< refItem name="ota validate --modified" description="Run ota validate only on files that have been modified in Git" example="npx ota validate --modified" />}}
35
+
{{< refItem name="ota validate declarations --modified" description="Run ota validate only on files that have been modified in Git" example="npx ota validate declarations --modified" />}}
36
36
37
37
## Linting declarations
38
38
@@ -42,6 +42,10 @@ In these commands:
42
42
43
43
{{< refItem name="ota lint --modified" description="Run ota lint only on files that have been modified in Git" example="npx ota lint --modified" />}}
44
44
45
+
## Validating metadata file
46
+
47
+
{{< refItem name="ota validate metadata" description="Check that the metadata file structure is valid" example="npx ota validate metadata" />}}
48
+
45
49
## Publishing dataset
46
50
47
51
{{< refItem name="ota dataset [--file <filename>]" description="Export the versions dataset into a ZIP file and publish it to GitHub releases. The dataset title and the URL of the versions repository are defined in the configuration." example="npx ota dataset --file dataset.zip" />}}
0 commit comments