Skip to content

Commit 1e53e6d

Browse files
refactor: Rename get-closure to closure and remove short flags
Co-authored-by: aider (gemini/gemini-2.5-pro) <[email protected]>
1 parent b1130c0 commit 1e53e6d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,22 +92,22 @@ To change these parameters, just run `ontoenv init` again with the desired flags
9292
This is often helpful for passing to reasoners or query processors; while many of these can deal with importing multiple graphs, it is much more convenient to have a single file one can ship around.
9393
We refer to the resulting "unified graph" as the *imports closure*.
9494

95-
`ontoenv get-closure <root ontology name>` computes the imports closure and places it into an `output.ttl` file (or a location of your choice).
95+
`ontoenv closure <root ontology name>` computes the imports closure and places it into an `output.ttl` file (or a location of your choice).
9696
There are a several flags one can provide for this process
9797

9898
```
9999
$ Compute the owl:imports closure of an ontology and write it to a file
100100
101-
Usage: ontoenv get-closure [OPTIONS] <ONTOLOGY> [DESTINATION]
101+
Usage: ontoenv closure [OPTIONS] <ONTOLOGY> [DESTINATION]
102102
103103
Arguments:
104104
<ONTOLOGY> The name (URI) of the ontology to compute the closure for
105105
[DESTINATION] The file to write the closure to, defaults to 'output.ttl'
106106
107107
Options:
108-
-r, --rewrite-sh-prefixes <REWRITE_SH_PREFIXES>
108+
--rewrite-sh-prefixes <REWRITE_SH_PREFIXES>
109109
Rewrite the sh:prefixes declarations to point to the chosen ontology, defaults to true [default: true] [possible values: true, false]
110-
-r, --remove-owl-imports <REMOVE_OWL_IMPORTS>
110+
--remove-owl-imports <REMOVE_OWL_IMPORTS>
111111
Remove owl:imports statements from the closure, defaults to true [default: true] [possible values: true, false]
112112
-h, --help
113113
Print help

0 commit comments

Comments
 (0)