# ๐ git-annex-metadata-edit
Edit [`git-annex` metadata](https://git-annex.branchable.com/metadata/) with your `$EDITOR`.
## ๐ฅ Installation
```bash
# From Gitlab
pip install git+https://gitlab.com/nobodyinperson/git-annex-metadata-edit
```
## โจ Features
- Frontend to `git annex metadata --set/--remove`
- (recursively) overwrite a field with a value
- add and remove single-line values in one go for multiple files (also recursively)
## โ Usage
```bash
# ๐ From the Temrminal
git-annex-metadata-edit FIELDNAME ...FILES...
# or
git annex-metadata-edit FIELDNAME ...FILES...
# or
git annex metadata-edit FIELDNAME ...FILES...
# or
python -m git_annex_metadata_edit FIELDNAME ...FILES...
# ๐คจ dry-run (check what it would do if you don't trust it)
git-annex-metadata-edit --dry-run FIELDNAME ...FILES...
# โ Help
git-annex-metadata-edit -h
```
`git-annex-metadata-edit` first tries your `$VISUAL`, then `$EDITOR`, then a list of common editors.
## ๐ Screencast ๐น
[![asciicast](https://asciinema.org/a/541485.svg)](https://asciinema.org/a/541576?autoplay=1)
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/nobodyinperson/git-annex-metadata-edit",
"name": "git-annex-metadata-edit",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "git-annex,git",
"author": "Yann Buechau",
"author_email": "nobodyinperson@posteo.de",
"download_url": "https://files.pythonhosted.org/packages/c2/2a/a463f84b2b5aa23e38288299495c150a55dd5603a492914513322a9b4379/git-annex-metadata-edit-1.0.0.tar.gz",
"platform": null,
"description": "# \ud83d\udcdd git-annex-metadata-edit\n\nEdit [`git-annex` metadata](https://git-annex.branchable.com/metadata/) with your `$EDITOR`.\n\n## \ud83d\udce5 Installation\n\n```bash\n# From Gitlab\npip install git+https://gitlab.com/nobodyinperson/git-annex-metadata-edit\n```\n\n## \u2728 Features\n\n- Frontend to `git annex metadata --set/--remove`\n- (recursively) overwrite a field with a value\n- add and remove single-line values in one go for multiple files (also recursively)\n\n\n## \u2753 Usage\n\n```bash\n# \ud83d\udcdf From the Temrminal\ngit-annex-metadata-edit FIELDNAME ...FILES...\n# or \ngit annex-metadata-edit FIELDNAME ...FILES...\n# or\ngit annex metadata-edit FIELDNAME ...FILES...\n# or \npython -m git_annex_metadata_edit FIELDNAME ...FILES...\n\n# \ud83e\udd28 dry-run (check what it would do if you don't trust it)\ngit-annex-metadata-edit --dry-run FIELDNAME ...FILES...\n\n# \u2753 Help\ngit-annex-metadata-edit -h\n```\n\n`git-annex-metadata-edit` first tries your `$VISUAL`, then `$EDITOR`, then a list of common editors.\n\n## \ud83d\udcdf Screencast \ud83d\udcf9\n\n[![asciicast](https://asciinema.org/a/541485.svg)](https://asciinema.org/a/541576?autoplay=1)\n",
"bugtrack_url": null,
"license": "GPLv3",
"summary": "Edit git-annex metadata in your $EDITOR",
"version": "1.0.0",
"split_keywords": [
"git-annex",
"git"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "5b38ea9e40bac674ee9ed1692bbfdeff",
"sha256": "c2918b52a7ab567121ed33788ee09d08a7cfad1a5bb216185968c902641a09d7"
},
"downloads": -1,
"filename": "git-annex-metadata-edit-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "5b38ea9e40bac674ee9ed1692bbfdeff",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 18084,
"upload_time": "2022-12-02T12:31:21",
"upload_time_iso_8601": "2022-12-02T12:31:21.426768Z",
"url": "https://files.pythonhosted.org/packages/c2/2a/a463f84b2b5aa23e38288299495c150a55dd5603a492914513322a9b4379/git-annex-metadata-edit-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-02 12:31:21",
"github": false,
"gitlab": true,
"bitbucket": false,
"gitlab_user": "nobodyinperson",
"gitlab_project": "git-annex-metadata-edit",
"lcname": "git-annex-metadata-edit"
}