{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: Public Domain", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Unix Shell", "Topic :: Utilities" ], "description": "\n\n[![](https://img.shields.io/badge/OS-Unix-blue.svg?longCache=True)]()\n\n#### Installation\n```bash\n$ [sudo] pip install commands-generator\n```\n\n#### Features\n+ generate **shell commands from scripts**\n+ **shell namespaces** - `namespace:command`. folder names as namespaces\n\n#### How it works\nscripts (shebang `#!` required):\n```\nnamespace/script.py\nnamespace/subnamespace/script.sh\n```\n\ngenerated commands:\n```\nnamespace:script\nnamespace:subnamespace:script\n```\n\n#### Config\n`~/.bashrc`:\n\n`export PATH=path/to/commands:$PATH`\n\n#### Scripts usage\n```bash\nusage: commands-generator scripts_dir commands_dir\n```\n\n#### Examples\ngenerate `~/.local/share/bin` from `dotfiles/scripts`:\n\n```\ndotfiles/scripts/git/commit.sh\ndotfiles/scripts/files/python/setup.cfg/create.sh\ndotfiles/scripts/web/github.com/push.sh\n```\n\n```bash\n$ cd path/to/dotfiles\n$ commands-generator scripts ~/.local/share/bin\n```\n\ngenerated commands:\n```\n~/.local/share/bin/git:commit\n~/.local/share/bin/files:python:setup.cfg:create\n~/.local/share/bin/web:github.com:push\n```\n\nusage:\n```\n$ files:python:requirements.txt:create\n$ git:commit\n$ web:github.com:push\n```\n\n#### Related projects\n+ [`classifiers-generator` - python classifiers generator](https://pypi.org/project/classifiers-generator/)\n+ [`commands-generator` - shell commands generator](https://pypi.org/project/commands-generator/)\n+ [`launchd-generator` - launchd.plist generator](https://pypi.org/project/launchd-generator/)\n+ [`readme-generator` - `README.md` generator](https://pypi.org/project/readme-generator/)\n+ [`setupcfg-generator` - `setup.cfg` generator](https://pypi.org/project/setupcfg-generator/)\n+ [`travis-generator` - `.travis.yml` generator](https://pypi.org/project/travis-generator/)\n\n

\n python-readme-generator\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/looking-for-a-job/commands-generator", "keywords": "commands scripts", "license": "", "maintainer": "", "maintainer_email": "", "name": "commands-generator", "package_url": "https://pypi.org/project/commands-generator/", "platform": "", "project_url": "https://pypi.org/project/commands-generator/", "project_urls": { "Homepage": "https://github.com/looking-for-a-job/commands-generator" }, "release_url": "https://pypi.org/project/commands-generator/2019.4.13/", "requires_dist": null, "requires_python": "", "summary": "generate shell commands from scripts", "version": "2019.4.13" }, "last_serial": 5587749, "releases": { "2019.3.22": [ { "comment_text": "", "digests": { "md5": "06f1563d12e6a047ab2a1bbc6627ca64", "sha256": "e5510f5c31d110056fa7b2159e09b99c7531d5e43f9083458eaae6e66e7cde8a" }, "downloads": -1, "filename": "commands_generator-2019.3.22-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "06f1563d12e6a047ab2a1bbc6627ca64", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1963, "upload_time": "2019-03-24T10:55:14", "url": "https://files.pythonhosted.org/packages/45/24/ab7a81bd799838eaa8057899b63d66dc3f4b30b0f0a9b204732f9699abbf/commands_generator-2019.3.22-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d1d99291edf1aeba730f70341ccd9913", "sha256": "396c032d501965352addf39f3edf1d56addb8322111e7bb477c8111bbe7b8079" }, "downloads": -1, "filename": "commands-generator-2019.3.22.tar.gz", "has_sig": false, "md5_digest": "d1d99291edf1aeba730f70341ccd9913", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2051, "upload_time": "2019-03-24T10:55:15", "url": "https://files.pythonhosted.org/packages/f9/a1/409604b09f93a1b5e08dbfc4b88eacb8cfa103fc78c05f0263117c54c358/commands-generator-2019.3.22.tar.gz" } ], "2019.3.9": [ { "comment_text": "", "digests": { "md5": "ee8adcff1571497d7c1be7376c1a8e37", "sha256": "69d89b1812cb3f379489f916f8967e314c954f9a288e7af628a6c20a2301b98f" }, "downloads": -1, "filename": "commands_generator-2019.3.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ee8adcff1571497d7c1be7376c1a8e37", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1993, "upload_time": "2019-03-09T11:34:02", "url": "https://files.pythonhosted.org/packages/cb/ab/43aa01005b5ebd07271e5ec68ba2fbb18c1a9a83189d1a6de9c492363a91/commands_generator-2019.3.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8adefd73e2908c1392c6386d946d6dd2", "sha256": "8f7a627219b0d9de712dfde79605ebdf8a8fd5be48038faf7202e99f0e0a07b7" }, "downloads": -1, "filename": "commands-generator-2019.3.9.tar.gz", "has_sig": false, "md5_digest": "8adefd73e2908c1392c6386d946d6dd2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1867, "upload_time": "2019-03-09T11:34:04", "url": "https://files.pythonhosted.org/packages/26/71/21152b20783ed13e77025ce826df12797653fd84df8b081ec96a62e5692d/commands-generator-2019.3.9.tar.gz" } ], "2019.4.13": [ { "comment_text": "", "digests": { "md5": "bbc3f049babdbf1bb97aeaff9a5e3f47", "sha256": "9cc7e46a0987855cd50d82755317da374bb256e9a6c3e76cf267754c8b4bdd24" }, "downloads": -1, "filename": "commands-generator-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "bbc3f049babdbf1bb97aeaff9a5e3f47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2107, "upload_time": "2019-04-13T07:24:15", "url": "https://files.pythonhosted.org/packages/4d/77/f01d837e94aeae15c0376e66c629e56bbb13f46ff42434c836fae88201d8/commands-generator-2019.4.13.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bbc3f049babdbf1bb97aeaff9a5e3f47", "sha256": "9cc7e46a0987855cd50d82755317da374bb256e9a6c3e76cf267754c8b4bdd24" }, "downloads": -1, "filename": "commands-generator-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "bbc3f049babdbf1bb97aeaff9a5e3f47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2107, "upload_time": "2019-04-13T07:24:15", "url": "https://files.pythonhosted.org/packages/4d/77/f01d837e94aeae15c0376e66c629e56bbb13f46ff42434c836fae88201d8/commands-generator-2019.4.13.tar.gz" } ] }