ark add
— Stage a file for set of files for a submission.ark alias
— Create a shortcut for a manifest URL.ark config
— Update an one of Ark's Configuration Values.ark init
— Initialize a dataset's local configuration.ark pull
— Pull a file from an Arken Cluster.ark remove
— Remove a file from the internal submission cache.ark status
— view what files are currently staged for submission.ark submit
— Submit your files to a manifest repository.ark update
— Update Ark to the latest version available.ark upload
— Upload files to an Arken cluster after an accepted submission.
ark add [OPTIONS] [Paths...]
Stage a file for set of files for a submission.
[file_paths...]
- Paths to the files or directories that you would like to stage. Adding multiple files can be done at once by separating paths by a space.
Add a couple of example files to the submission.
ark add example.csv
ark add datasets/mammals.txt
ark add . # Add everything in your current folder.
ark alias [OPTIONS] <Shortcut> [URL...]
Create or show a shortcut for a manifest URL.
<Shortcut>
- Custom name for a manifest url.[URL...]
- The URL the alias should point to.
Add a custom alias named core to Ark for the core-manifest.
ark alias core https://github.com/arken/core-manifest
ark alias core
https://github.com/arken/core-manifest
USAGE: ark config [OPTIONS] <Key> [Value...]
Update an one of Ark's Configuration Values.
<Key>
- Name of a configuration value such as git.username.[Value...]
- Corresponding
Change your name for git submissions.
ark config git.name "Bilbo Baggins"
ark config git.name
Bilbo Baggins
USAGE: ark init
Initialize a dataset's local configuration.
Initialize an Ark submission at the current working directory.
ark init
USAGE: ark pull [OPTIONS] <Manifest> [Filepaths...]
Pull a file from an Arken Cluster.
<Manifest>
- Alias or URL of manifest to pull data from.[Filepaths...]
- Path to the file(s) within Arken.
Pull an image from the Deaver botanical collection.
ark pull core deaver/ASC00001234.jpg
[-] Pulling ASC00001234.jpg...
USAGE: ark remove [OPTIONS] [Paths...]
Remove a file from the internal submission cache.
[Paths...]
- Path to the file(s) you would like to remove from the submission.
Remove a test.csv file from a submission
ark remove tests/test.csv
ark status [OPTIONS]
View what files are currently staged for submission.
Check the number of files in a submission.
ark status
1 file(s) currently staged for submission
tests/test.csv
USAGE: ark submit [OPTIONS] <Manifest>
Create and upload a submission to an Arken manifest.
<Manifest>
- Alias or URL of a manifest git repository.
Submit tests/test.csv
to the Core Arken Cluster.
ark submit https://github.com/arken/core-manifest
ark submit core
USAGE: ark update [OPTIONS]
Update Ark to the latest version available.
-y, --yes
- If a newer version is found update without prompting the user.
Check for an update to Arken
ark update
Current Version: v0.2.1
Latest Version: v0.2.1
Already Up-To-Date!
USAGE: ark upload [OPTIONS] <Manifest>
Upload files to an Arken cluster after an accepted submission.
<Manifest>
- Alias or URL of a manifest git repository.
Upload tests/test.csv
to the Core Arken Cluster.
ark upload https://github.com/arken/core-manifest
Uploading Files to Cluster
0% | | (0/1, 0 it/min) [1s:-1s]
ark upload core
Uploading Files to Cluster
0% | | (0/1, 0 it/min) [1s:-1s]