fairly create [path]
# this should write or save to fairly.json
fairly repository list
fairly repository add --id <id> --name <name> --api-url <url> --token <token>
fairly repository update <id> --token <token>
fairly repository remove <id>
# Should we have something like test connection? ping
# show stored parameters of repository
fairly repository show <id>
# Create a local dataset under path with default template
fairly dataset create <path>
# Create a local dataset under path with the specified template
# <template> = 'zeondo, 4tu, default'
fairly dataset create <path> --template <template>
# Show information about the specified local dataset
# show some metadata + handy info about the dataset
fairly dataset show <path>
fairly dataset upload <path> <repository>
# Ex. fairly dataset upload ~/my-dataset zenodo
# Upload dataset by using a custom token (can be useful for e.g. data stewards)
fairly dataset upload <path> <repository> --token <token>
fairly upload <path> <repository> --token <token>
# If the dataset was not uploaded before: create remote entry (get id), set metadata, upload all files, upload local manifest to add id
# If the dataset was uploaded (id exists in manifest): update remote metadata, upload added and modified files, delete removed files
metadata:
4tu_id: <id>
files:
# Download a dataset by using its URL address or DOI
# fairly automatically recognize them and creates corresponding client
fairly dataset download <url|doi>
fairly download <url|doi>
# Ex. fairly download https://zenodo.org/record/6026285
fairly dataset download <url|doi> --token <token>
fairly dataset download <repository> <id>
fairly dataset download --repository zenodo --id 6026285
# TODO: Assess if this is a good idea or not????
# Update 'title' metadata of the local dataset
fairly dataset update <path> --title <title>
fairly delete (url|doi)
fairly delete https://zenodo.org/record/6026285
fairly delete 10.5281/zenodo.6026285
fairly delete (repository) (id)
Parameters:
Examples:
fairly clone (url|doi)
fairly clone (repository) (id) (version)
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing