{ "info": { "author": "Sebastian Opalczynski", "author_email": "sebastian.opalczynski@trurl.it", "bugtrack_url": null, "classifiers": [], "description": "# Snipetto CLI \n\nSimple CLI to handle Snipetto Service for storing code snippets.\n\n## Overview\n\n* Snippetto CLI allows you to create snippets directly from files in terminal.\n* Snippetto by default makes your snippets available only for you.\n\n## Installation\n\n pip3 install snippetto \n\n## Build\n\n| Build | Status | \n|---|---|\n| CircleCI | [![CircleCI](https://circleci.com/gh/opalczynski/snippetto_cli.svg?style=svg)](https://circleci.com/gh/opalczynski/snipetto_cli) |\n\n\n## Commands\n\nAt the beginning you will be asked to setup your account, I only need username\nand a password to make this work. Follow the instructions on terminal.\n\n> Note use --help if you are not sure how command work.\n\n* Add snippet - allow to add new snippet\n\n snippetto add --slug myfirstsnippet --tags=click,python --desc \"example add for README\" --file setup.py \n\nYou can also specify `--start` and `--end` to tell which fragment of the file\nshould be used as a snippet.\n\n* List snippets\n\n snippetto list\n\nHere you can use `--skip-snippet` do make a quick overview.\n\n* Search snippets\n\n snippetto search --slug myfirstsnippet\n snippetto search --slug myfirstsnippet --tags python\n snippetto search --tags python,click\n\nSearch works on two parameters: `slug` or `tags` or both\n\nTags filter is `OR-like` - you will get all snippets with `python` or `click` \ntags;\n\n* Edit snippet\n\n snippetto edit myfirstsnippet --desc \"New description\"\n\nFollowing fields can be edited: tags, description, file (snippet)\n\n* Get snippet \n\n snippetto get myfirstsnippet\n snippetto get --snippet-only myfirstsnippet\n\nHere interesting functionality is `--snippet-only`, this way you can redirect\nstream and create file with the code:\n\n snippetto get --snippet-only myfirstsnippet > myfirstsnippet.py\n\n* Delete snippet - will remove snippet from you collection.\n\n snippetto delete myfirstsnippet\n\n* List tags - will list all tags collected in system.\n\n snippetto tags list\n\n## Stack\n\nSnippetto CLI is build based on:\n\n* [click](https://click.palletsprojects.com/en/7.x/) \n* [requests](http://docs.python-requests.org/en/master/)\n\n## Notes\n\n> Working only with python3\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/opalczynski/snippetto_cli", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "snippetto-cli", "package_url": "https://pypi.org/project/snippetto-cli/", "platform": "", "project_url": "https://pypi.org/project/snippetto-cli/", "project_urls": { "Homepage": "https://github.com/opalczynski/snippetto_cli" }, "release_url": "https://pypi.org/project/snippetto-cli/0.1.0/", "requires_dist": [ "click (>=6.6)", "requests (>=2.21.0)" ], "requires_python": "", "summary": "Snippetto command line interface", "version": "0.1.0" }, "last_serial": 4892288, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6ba5f2974fee6c272da27b1a927b54fc", "sha256": "746606c0e7f5888a4cc3f8c0bef293d913573f40b75d12e1b24ee9a979b218b7" }, "downloads": -1, "filename": "snippetto_cli-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "6ba5f2974fee6c272da27b1a927b54fc", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 13536, "upload_time": "2019-03-04T01:02:38", "url": "https://files.pythonhosted.org/packages/c4/03/3fcb0af87881a99cd6b10e3586ac611e3f840ddb34401de58ae1b713df1e/snippetto_cli-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6cdccb277d84d7ddf66f3e087da8496b", "sha256": "afaca5f91d5975e9dc14dde9d876dd0569737cb403688d0390ab5b3b644cb179" }, "downloads": -1, "filename": "snippetto-cli-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6cdccb277d84d7ddf66f3e087da8496b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7776, "upload_time": "2019-03-04T01:02:39", "url": "https://files.pythonhosted.org/packages/51/cc/8d66dd7b2b2f3482ebd384e52781063500de7a7b977ed5ba1df7783abcc8/snippetto-cli-0.1.0.tar.gz" } ], "0.1.0b0": [ { "comment_text": "", "digests": { "md5": "a1d8b2ddb61ee919a12ac62ff83753a2", "sha256": "ed656291af4694a58fd84bd6470de4ca00806bf488cce7cf298470467d361cf2" }, "downloads": -1, "filename": "snippetto_cli-0.1.0b0-py2-none-any.whl", "has_sig": false, "md5_digest": "a1d8b2ddb61ee919a12ac62ff83753a2", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 13572, "upload_time": "2019-03-04T01:00:59", "url": "https://files.pythonhosted.org/packages/91/0d/6b3da0fad16e24fc89157afe1abcf22acfe412c1e89258da77d7fb5ec8ff/snippetto_cli-0.1.0b0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fccf3e426286be2e11aed1d7306909ea", "sha256": "ee2718ebfe2856e59e50c9d7159192ac6f521575a291a4e556555b0f2b2ca20b" }, "downloads": -1, "filename": "snippetto-cli-0.1.0b0.tar.gz", "has_sig": false, "md5_digest": "fccf3e426286be2e11aed1d7306909ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7777, "upload_time": "2019-03-04T01:01:01", "url": "https://files.pythonhosted.org/packages/b0/ac/ef42324923e7985483ccafa6664350252201d4208b88ea5db2e7442a1f7c/snippetto-cli-0.1.0b0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6ba5f2974fee6c272da27b1a927b54fc", "sha256": "746606c0e7f5888a4cc3f8c0bef293d913573f40b75d12e1b24ee9a979b218b7" }, "downloads": -1, "filename": "snippetto_cli-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "6ba5f2974fee6c272da27b1a927b54fc", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 13536, "upload_time": "2019-03-04T01:02:38", "url": "https://files.pythonhosted.org/packages/c4/03/3fcb0af87881a99cd6b10e3586ac611e3f840ddb34401de58ae1b713df1e/snippetto_cli-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6cdccb277d84d7ddf66f3e087da8496b", "sha256": "afaca5f91d5975e9dc14dde9d876dd0569737cb403688d0390ab5b3b644cb179" }, "downloads": -1, "filename": "snippetto-cli-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6cdccb277d84d7ddf66f3e087da8496b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7776, "upload_time": "2019-03-04T01:02:39", "url": "https://files.pythonhosted.org/packages/51/cc/8d66dd7b2b2f3482ebd384e52781063500de7a7b977ed5ba1df7783abcc8/snippetto-cli-0.1.0.tar.gz" } ] }