{ "info": { "author": "Josef Friedrich", "author_email": "josef@friedrich.rocks", "bugtrack_url": null, "classifiers": [], "description": "[![Build Status](https://travis-ci.org/Josef-Friedrich/ansible-module-shellmarks.svg?branch=master)](https://travis-ci.org/Josef-Friedrich/ansible-module-shellmarks)\n\n# ansible-module-shellmarks\n\n`ansible-module-shellmarks` is a [ansible](https://www.ansible.com)\nmodule to set bookmarks to commonly used directories like the tools\n[shellmarks](https://github.com/Bilalh/shellmarks) /\n[bashmarks](https://github.com/huyng/bashmarks) do.\n\n[shellmarks](https://github.com/Bilalh/shellmarks) and\n[bashmarks](https://github.com/huyng/bashmarks) are shell scripts that\nallows you to save and jump to commonly used directories with tab\ncompletion.\n\nBoth tools store their bookmarks in a text file called `~/.sdirs`. This\nmodule is able to write bookmarks to this file.\n\n```\nexport DIR_shell_scripts_SHELL_GITHUB=\"$HOME/shell-scripts\"\nexport DIR_shellmarks_module_ansible=\"$HOME/ansible-module-shellmarks\"\nexport DIR_skeleton_SHELL_GITHUB=\"$HOME/skeleton.sh\"\n```\n\n```\n> SHELLMARKS (shellmarks.py)\n\n shellmarks https://github.com/Bilalh/shellmarks bashmarks https://github.com/huyng/bashmarks\n are shell scripts that allows you to save and jump to commonly used directories with tab\n completion.\n\nOptions (= is mandatory):\n\n- cleanup\n Delete bookmarks of nonexistent directories.\n [Default: False]\n- mark\n Name of the bookmark.\n [Default: (null)]\n- path\n Full path to the directory.\n [Default: (null)]\n- replace_home\n Replace home directory with $HOME variable.\n [Default: True]\n- sdirs\n The path to the file where the bookmarks are stored.\n [Default: ~/.sdirs]\n- sorted\n Sort entries in the bookmark file.\n [Default: True]\n- state\n State of the mark.\n (Choices: present, absent)[Default: present]\nEXAMPLES:\n# Bookmark the ansible configuration directory\n- shellmarks:\n mark: ansible\n path: /etc/ansible\n state: present\n\n# Delete bookmark of the ansible configuration directory\n- shellmarks:\n mark: ansible\n path: /etc/ansible\n state: absent\n\n# Replace home directory with $HOME variable\n- shellmarks:\n replace_home: true\n\n# Sort entries in the bookmark file\n- shellmarks:\n sorted: true\n\n# Delete bookmarks of no longer existing directories\n- shellmarks:\n cleanup: true\n\n\nMAINTAINERS: Josef Friedrich (@Josef-Friedrich)\n\nMETADATA:\n\tStatus: ['preview']\n\tSupported_by: community\n```\n\n# Development\n\n## Test functionality\n\n```\n/usr/local/src/ansible/hacking/test-module -m shellmarks.py -a\n```\n\n## Test documentation\n\n```\nsource /usr/local/src/ansible/hacking/env-setup\n/usr/local/src/ansible/test/sanity/validate-modules/validate-modules --arg-spec --warnings shellmarks.py\n```\n\n## Generate documentation\n\n```\nansible-doc -M . shellmarks\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Josef-Friedrich/ansible-module-shellmarks", "keywords": "", "license": "GPL3", "maintainer": "", "maintainer_email": "", "name": "shellmarks", "package_url": "https://pypi.org/project/shellmarks/", "platform": "", "project_url": "https://pypi.org/project/shellmarks/", "project_urls": { "Homepage": "https://github.com/Josef-Friedrich/ansible-module-shellmarks" }, "release_url": "https://pypi.org/project/shellmarks/2.0.3/", "requires_dist": null, "requires_python": "", "summary": "shellmarks is a ansible module to set bookmarks to commonly used directories like the tools shellmarks and bashmarks do.", "version": "2.0.3" }, "last_serial": 4921854, "releases": { "2.0.0": [ { "comment_text": "", "digests": { "md5": "bc63779cc897f8dc663f2dff7ca01d65", "sha256": "5ece68e625761ff46f741c889626de99f668ee84c302a8de53fd4cb4abd08e1f" }, "downloads": -1, "filename": "shellmarks-2.0.0.tar.gz", "has_sig": false, "md5_digest": "bc63779cc897f8dc663f2dff7ca01d65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17952, "upload_time": "2019-03-09T16:12:49", "url": "https://files.pythonhosted.org/packages/56/57/7fb693ffc441a4d24b3d7c6a5cda65bfa05db3812bfe533c764efafe809a/shellmarks-2.0.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "91770c5fcb40c6061ad990349244ccbf", "sha256": "c56632f9de1ae8238d082a115c4069366d29ecd8ffbf75026730941732792f42" }, "downloads": -1, "filename": "shellmarks-2.0.1.tar.gz", "has_sig": false, "md5_digest": "91770c5fcb40c6061ad990349244ccbf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19010, "upload_time": "2019-03-09T16:26:08", "url": "https://files.pythonhosted.org/packages/9f/c6/b44badd9237b2d785e3c9250c8caaacd04b0a2ad8ac76863238ca7c57f55/shellmarks-2.0.1.tar.gz" } ], "2.0.3": [ { "comment_text": "", "digests": { "md5": "97623bd8e2e302d385ad2f7991494177", "sha256": "d474302a7f124aca668514cb0dddced77b2865bd80e8120ac36d2c0f936f8656" }, "downloads": -1, "filename": "shellmarks-2.0.3.tar.gz", "has_sig": false, "md5_digest": "97623bd8e2e302d385ad2f7991494177", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36298, "upload_time": "2019-03-10T16:14:39", "url": "https://files.pythonhosted.org/packages/58/79/ced0aa2923dcb9e304b74a65a6f353773e1ec29a2a4c760be56c61d164de/shellmarks-2.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "97623bd8e2e302d385ad2f7991494177", "sha256": "d474302a7f124aca668514cb0dddced77b2865bd80e8120ac36d2c0f936f8656" }, "downloads": -1, "filename": "shellmarks-2.0.3.tar.gz", "has_sig": false, "md5_digest": "97623bd8e2e302d385ad2f7991494177", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36298, "upload_time": "2019-03-10T16:14:39", "url": "https://files.pythonhosted.org/packages/58/79/ced0aa2923dcb9e304b74a65a6f353773e1ec29a2a4c760be56c61d164de/shellmarks-2.0.3.tar.gz" } ] }