Skip to content

Commit

Permalink
Add updated manifest commands to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy authored Jul 31, 2023
1 parent 86f8c56 commit d2077b3
Showing 1 changed file with 31 additions and 13 deletions.
44 changes: 31 additions & 13 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,26 +424,44 @@ YAML file.
### CLI support

```text
usage: rack manifest import [-h] [--clear] [--default-graph] manifest
usage: rack manifest build [-h] config zipfile
positional arguments:
manifest Manifest YAML file
config Manifest YAML file
zipfile Ingestion package output file
optional arguments:
-h, --help show this help message and exit
--clear Clear footprint before import
--default-graph Load whole manifest into default graph
options:
-h, --help show this help message and exit
```

Manifests can be loaded using `rack manifest import`.
Ingestion packages can be created using the CLI by providing a manifest
file and a target package name.

To clear all graphs mentioned in the `footprint` use `--clear`. For example:
`rack manifest import --clear my-manifest.yaml`
For example: `rack manifest build manifest.yaml package-v1` will produce
a package called `package-v1.zip`.

```text
usage: rack manifest import [-h] [--clear] [--optimize | --no-optimize]
[--optimize-url OPTIMIZE_URL]
config
positional arguments:
config Manifest YAML file
Fuseki happens to run faster when data is stored in the *default graph*.
To load a complete ingestion manifest into the default graph use
`--default-graph`. For example:
`rack manifest import --default-graph my-manifest.yaml`
options:
-h, --help show this help message and exit
--clear Clear footprint before import
--optimize, --no-optimize
Enable RACK UI optimization when available
--optimize-url OPTIMIZE_URL
RACK UI optimization endpoint (e.g.
http://localhost:8050/optimize)
```

Ingestion packages can be loaded using `rack manifest import`.

To clear all graphs mentioned in the `footprint` use `--clear`. For example:
`rack manifest import --clear package.zip`

## Hacking

Expand Down

0 comments on commit d2077b3

Please sign in to comment.