{ "info": { "author": "Konstantin Molchanov", "author_email": "moigagoo@live.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Documentation", "Topic :: Utilities" ], "description": "# Project Initializer for Foliant\n\nThis CLI extension add `init` command that lets you create Foliant projects from templates.\n\n\n## Installation\n\n```shell\n$ pip install foliantcontrib.init\n```\n\n\n## Usage\n\nCreate project from the default \u201cbase\u201d template:\n\n```shell\n$ foliant init\nEnter the project name: Awesome Docs\n\u2714 Generating Foliant project\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nProject \"Awesome Docs\" created in awesome-docs\n```\n\nCreate project from a custom template:\n\n```shell\n$ foliant init --template /path/to/custom/template\nEnter the project name: Awesome Customized Docs\n\u2714 Generating Foliant project\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nProject \"Awesome Customized Docs\" created in awesome-customized-docs\n```\n\nYou can provide the project name without user prompt:\n\n```shell\n$ foliant init --name Awesome Docs\n\u2714 Generating Foliant project\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\nProject \"Awesome Docs\" created in awesome-docs\n```\n\nAnother useful option is `--quiet`, which hides all output except for the path to the generated project:\n\n```shell\n$ foliant init --name Awesome Docs --quiet\nawesome-docs\n```\n\nTo see all available options, run `foliant init --help`:\n\n```shell\n$ foliant init --help\nusage: foliant init [-h] [-n NAME] [-t NAME or PATH] [-q]\n\nGenerate new Foliant project.\n\noptional arguments:\n -h, --help show this help message and exit\n -n NAME, --name NAME Name of the Foliant project\n -t NAME or PATH, --template NAME or PATH\n Name of a built-in project template or path to custom one\n -q, --quiet Hide all output accept for the result. Useful for piping.\n```\n\n\n## Project Templates\n\nA project template is a regular Foliant project but containing placeholders in files. When the project is generated, the placeholders are replaced with the values you provide. Currently, there are two placeholders: `$title` and `$slug`.\n\nThere is a built-in template called `base`. It's used by default if no template is specified.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/foliant-docs/foliantcontrib.init", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "foliantcontrib.init", "package_url": "https://pypi.org/project/foliantcontrib.init/", "platform": "any", "project_url": "https://pypi.org/project/foliantcontrib.init/", "project_urls": { "Homepage": "https://github.com/foliant-docs/foliantcontrib.init" }, "release_url": "https://pypi.org/project/foliantcontrib.init/1.0.7/", "requires_dist": null, "requires_python": "", "summary": "Create Foliant projects from templates.", "version": "1.0.7" }, "last_serial": 4486385, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "d3f07d0684fe5ac80ad6239d81ea2a3e", "sha256": "5dcfe00c8716810b837b10ce2105c13ae194a702a908ecb662df0f145de0bb8d" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "d3f07d0684fe5ac80ad6239d81ea2a3e", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 3901, "upload_time": "2017-12-14T11:25:08", "url": "https://files.pythonhosted.org/packages/2e/29/87b45bcef831c5f7a6f37187ad37530878d93658fdb08af083a6d62bcc46/foliantcontrib.init-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cccff953e055d7545a562d4d0e4dc438", "sha256": "7c7ceba3f54b13575ed75e82a23aaf92db74bee55194e073c37566ea6fdfa6d0" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.0.tar.gz", "has_sig": false, "md5_digest": "cccff953e055d7545a562d4d0e4dc438", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2216, "upload_time": "2017-12-14T11:25:10", "url": "https://files.pythonhosted.org/packages/dd/2a/5c2c84af269574c3c1fc833e25981b549730ce229afebf22e2836370b1c4/foliantcontrib.init-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "a0df7f21ad799f4d31c86b056181fe9e", "sha256": "fd565dd364828497a9d822a870ce50e476578913daa8863ea35a88e30a31dd63" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a0df7f21ad799f4d31c86b056181fe9e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5650, "upload_time": "2018-01-23T08:01:37", "url": "https://files.pythonhosted.org/packages/1d/f7/5f07ac416e6c5520052c7657dd60f955bff7486cf7f4a030aec39a35a4be/foliantcontrib.init-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b5233731a2885b4770273be406de2a03", "sha256": "ca52f062086447ed2cb3f13c9254883d9d9b1435ad39a5e63d1d617ad2c50054" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.1.tar.gz", "has_sig": false, "md5_digest": "b5233731a2885b4770273be406de2a03", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3375, "upload_time": "2018-01-23T08:01:39", "url": "https://files.pythonhosted.org/packages/ed/c8/075064611c6e821fe5b2e9acae037a60d66615e2be8c5151791e13759041/foliantcontrib.init-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "7111c48817211f5fa803f78619558d5f", "sha256": "e155860447d28b834d21869b682c7c1a47093c106eaedc11c12ed50b248bb3e9" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7111c48817211f5fa803f78619558d5f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7246, "upload_time": "2018-02-03T19:02:56", "url": "https://files.pythonhosted.org/packages/c1/c0/b7d0242d2858a2180ceeac0647fe2160bfef205f3ee7bc4179fa262b3f4c/foliantcontrib.init-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b690238cd64f59514c6e8c5d5900bdd0", "sha256": "6edeabf72595b6255d5c402cdb549ef8c9cad3c72077bc975cc4a129e2698310" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.2.tar.gz", "has_sig": false, "md5_digest": "b690238cd64f59514c6e8c5d5900bdd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4081, "upload_time": "2018-02-03T19:02:57", "url": "https://files.pythonhosted.org/packages/80/9d/4787f58fa74767ad73a75108c66a67cd9ebefd4448200b14a776efcba18c/foliantcontrib.init-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "8f7cca6012eafe7a9483359182b949d1", "sha256": "0f9955f4dde59222578f481640a2cb775e214ed0ca1f732670cacaf51c3cd428" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "8f7cca6012eafe7a9483359182b949d1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7201, "upload_time": "2018-02-07T18:26:05", "url": "https://files.pythonhosted.org/packages/68/f1/49799ca851e7bd0dce8f5e30e4b25056a5512c1cc6d4a3b859d993b387df/foliantcontrib.init-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ae58da61249404eea0728e59824e154d", "sha256": "ecf9ac104e417886d5df567102b4fb6f4c0c23b3d603d1310caccd52a21f9145" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.3.tar.gz", "has_sig": false, "md5_digest": "ae58da61249404eea0728e59824e154d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4059, "upload_time": "2018-02-07T18:26:08", "url": "https://files.pythonhosted.org/packages/d4/2d/586293b3643eb59477d9d94edb6e8ced8ed3c2860ba6a307ab1fa90a3b8a/foliantcontrib.init-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "4185bc8610df918eb3bf19f70d572f43", "sha256": "074d240669c5177011cab7ba1e1963eb38505789121694397744192e3ee69e74" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "4185bc8610df918eb3bf19f70d572f43", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5880, "upload_time": "2018-04-20T10:11:58", "url": "https://files.pythonhosted.org/packages/ef/2f/3d2c7b9e3f6969e4f57488d41d04753a96a35a01ab5435f319be3352d354/foliantcontrib.init-1.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "36c0e1abc61d60b976c3ef097e565bff", "sha256": "e3b0e1206d09d26e09acd255bae79bf81c2c566c18441b7891d55bc11d0d2363" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.4.tar.gz", "has_sig": false, "md5_digest": "36c0e1abc61d60b976c3ef097e565bff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4599, "upload_time": "2018-04-20T10:11:59", "url": "https://files.pythonhosted.org/packages/05/82/ce5a458652cea66a4246031ada624b2c4430dd4203313d90da2f430f55af/foliantcontrib.init-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "8047e8f736c7cabd0718e81bd27eb416", "sha256": "202ed427f40f5030cdb26ca0397643a0487bdcb9fda54be0c2e8e337aa99d18b" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "8047e8f736c7cabd0718e81bd27eb416", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5872, "upload_time": "2018-06-04T09:23:10", "url": "https://files.pythonhosted.org/packages/d9/10/79456dcc998e8647c64b8cc20ed6f3aea1981da4af4c845da52ebae18afa/foliantcontrib.init-1.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4a3d0918d87118e6552f606717edeba1", "sha256": "84e2bffe9ae04c4cbd45a0b107823af98c48f1b66aeda010bf5d1008d423f0a4" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.5.tar.gz", "has_sig": false, "md5_digest": "4a3d0918d87118e6552f606717edeba1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4612, "upload_time": "2018-06-04T09:23:12", "url": "https://files.pythonhosted.org/packages/11/7d/2827aa37dbceb21a1696922b41f1a532a305a12bc5c2299e57a37028be0d/foliantcontrib.init-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "88804f835e24b3ef75e5623c06c19918", "sha256": "4c56ee8c1f0822b07a39784a62c01529f8ca1b157728f207a2fc69204d43c96d" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.6.tar.gz", "has_sig": false, "md5_digest": "88804f835e24b3ef75e5623c06c19918", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4549, "upload_time": "2018-11-14T13:06:21", "url": "https://files.pythonhosted.org/packages/fb/1e/7fed6502038caf5c3e627b6403423f590afbef687e8b0590e7e946fd2c90/foliantcontrib.init-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "2d973e0bcd275e3323302fbd6e73a319", "sha256": "28c7fd9ceb2d59b94cf3cd448f91580033a9393c16b73ef77cc8a20a2a89c195" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.7.tar.gz", "has_sig": false, "md5_digest": "2d973e0bcd275e3323302fbd6e73a319", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4582, "upload_time": "2018-11-14T17:05:26", "url": "https://files.pythonhosted.org/packages/41/a8/42ac7f4e7635b4523541200e4f610827c477f887cd20f1a7952b0fe8e9b1/foliantcontrib.init-1.0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2d973e0bcd275e3323302fbd6e73a319", "sha256": "28c7fd9ceb2d59b94cf3cd448f91580033a9393c16b73ef77cc8a20a2a89c195" }, "downloads": -1, "filename": "foliantcontrib.init-1.0.7.tar.gz", "has_sig": false, "md5_digest": "2d973e0bcd275e3323302fbd6e73a319", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4582, "upload_time": "2018-11-14T17:05:26", "url": "https://files.pythonhosted.org/packages/41/a8/42ac7f4e7635b4523541200e4f610827c477f887cd20f1a7952b0fe8e9b1/foliantcontrib.init-1.0.7.tar.gz" } ] }