@@ -23,7 +23,7 @@ Options:
2323
2424Commands:
2525 deploy
26- downoad
26+ download
2727```
2828
2929## Docker Image Usage
@@ -43,7 +43,7 @@ Arguments:
4343 content variants of a distribution, fileExt and Compression can be set, if not they are inferred from the path [required]
4444
4545Options:
46- --versionid TEXT Target databus version/dataset identifier of the form <h
46+ --version-id TEXT Target databus version/dataset identifier of the form <h
4747 ttps://databus.dbpedia.org/$ACCOUNT/$GROUP/$ARTIFACT/$VE
4848 RSION> [required]
4949 --title TEXT Dataset title [required]
@@ -55,11 +55,11 @@ Options:
5555```
5656Examples of using deploy command
5757```
58- databusclient deploy --versionid https://databus.dbpedia.org/user1/group1/artifact1/2022-05-18 --title title1 --abstract abstract1 --description description1 --license http://dalicc.net/licenselibrary/AdaptivePublicLicense10 --apikey MYSTERIOUS 'https://raw.githubusercontent.com/dbpedia/databus/master/server/app/api/swagger.yml|type=swagger'
58+ databusclient deploy --version-id https://databus.dbpedia.org/user1/group1/artifact1/2022-05-18 --title title1 --abstract abstract1 --description description1 --license http://dalicc.net/licenselibrary/AdaptivePublicLicense10 --apikey MYSTERIOUS 'https://raw.githubusercontent.com/dbpedia/databus/master/server/app/api/swagger.yml|type=swagger'
5959```
6060
6161```
62- databusclient deploy --versionid https://dev.databus.dbpedia.org/denis/group1/artifact1/2022-05-18 --title "Client Testing" --abstract "Testing the client...." --description "Testing the client...." --license http://dalicc.net/licenselibrary/AdaptivePublicLicense10 --apikey MYSTERIOUS 'https://raw.githubusercontent.com/dbpedia/databus/master/server/app/api/swagger.yml|type=swagger'
62+ databusclient deploy --version-id https://dev.databus.dbpedia.org/denis/group1/artifact1/2022-05-18 --title "Client Testing" --abstract "Testing the client...." --description "Testing the client...." --license http://dalicc.net/licenselibrary/AdaptivePublicLicense10 --apikey MYSTERIOUS 'https://raw.githubusercontent.com/dbpedia/databus/master/server/app/api/swagger.yml|type=swagger'
6363```
6464
6565A few more notes for CLI usage:
@@ -70,11 +70,11 @@ A few more notes for CLI usage:
7070
7171### Download command
7272```
73- python3 -m databusclient downoad --help
73+ databusclient download --help
7474```
7575
7676```
77- Usage: python3 -m databusclient download [OPTIONS] DATABUSURIS...
77+ Usage: databusclient download [OPTIONS] DATABUSURIS...
7878
7979Arguments:
8080 DATABUSURIS... databus uris to download from https://databus.dbpedia.org,
@@ -102,34 +102,34 @@ Examples of using download command
102102
103103** File** : download of a single file
104104```
105- python3 -m databusclient download https://databus.dbpedia.org/dbpedia/mappings/mappingbased-literals/2022.12.01/mappingbased-literals_lang=az.ttl.bz2
105+ databusclient download https://databus.dbpedia.org/dbpedia/mappings/mappingbased-literals/2022.12.01/mappingbased-literals_lang=az.ttl.bz2
106106```
107107
108108** Version** : download of all files of a specific version
109109```
110- python3 -m databusclient download https://databus.dbpedia.org/dbpedia/mappings/mappingbased-literals/2022.12.01
110+ databusclient download https://databus.dbpedia.org/dbpedia/mappings/mappingbased-literals/2022.12.01
111111```
112112
113113** Artifact** : download of all files with latest version of an artifact
114114```
115- python3 -m databusclient download https://databus.dbpedia.org/dbpedia/mappings/mappingbased-literals
115+ databusclient download https://databus.dbpedia.org/dbpedia/mappings/mappingbased-literals
116116```
117117
118118** Group** : download of all files with lates version of all artifacts of a group
119119```
120- python3 -m databusclient download https://databus.dbpedia.org/dbpedia/mappings
120+ databusclient download https://databus.dbpedia.org/dbpedia/mappings
121121```
122122
123123If no ` --localdir ` is provided, the current working directory is used as base directory. The downloaded files will be stored in the working directory in a folder structure according to the databus structure, i.e. ` ./$ACCOUNT/$GROUP/$ARTIFACT/$VERSION/ ` .
124124
125125** Collcetion** : download of all files within a collection
126126```
127- python3 -m databusclient download https://databus.dbpedia.org/dbpedia/collections/dbpedia-snapshot-2022-12
127+ databusclient download https://databus.dbpedia.org/dbpedia/collections/dbpedia-snapshot-2022-12
128128```
129129
130130** Query** : download of all files returned by a query (sparql endpoint must be provided with ` --databus ` )
131131```
132- python3 -m databusclient download 'PREFIX dcat: <http://www.w3.org/ns/dcat#> SELECT ?x WHERE { ?sub dcat:downloadURL ?x . } LIMIT 10' --databus https://databus.dbpedia.org/sparql
132+ databusclient download 'PREFIX dcat: <http://www.w3.org/ns/dcat#> SELECT ?x WHERE { ?sub dcat:downloadURL ?x . } LIMIT 10' --databus https://databus.dbpedia.org/sparql
133133```
134134
135135#### Authentication with vault
@@ -138,7 +138,7 @@ For downloading files from the vault, you need to provide a vault token. See [ge
138138
139139Example:
140140```
141- python3 -m databusclient download https://databus.dbpedia.org/dbpedia-enterprise/live-fusion-snapshots/fusion/2025-08-23 --token vault-token.dat
141+ databusclient download https://databus.dbpedia.org/dbpedia-enterprise/live-fusion-snapshots/fusion/2025-08-23 --token vault-token.dat
142142```
143143
144144If vault authentication is required for downloading a file, the client will use the token. If no vault authentication is required, the token will not be used.
0 commit comments