Skip to main content

A CLI tool to create project folder structures from a markdown file.

Project description

Nirman-cli

PyPI Version License

A simple and powerful CLI tool to create project folder and file structures from a Markdown tree.

Stop creating files and folders manually. Define your project's skeleton in a readable Markdown file and let nirman build it for you in seconds.

Key Features

  • Intuitive Input: Uses a visual, tree-style Markdown format.
  • Safe by Default: Includes a --dry-run mode to preview changes.
  • Flexible: Supports overwriting files with the --force flag.
  • Simple & Lightweight: No external dependencies.

Installation

You can install Nirman-cli directly from PyPI:

pip install Nirman-cli

Usage

  1. Create a Markdown file (e.g., structure.md) defining your desired project layout:

    my-python-app/
    ├── src/
    │   ├── __init__.py
    │   └── main.py
    ├── tests/
    │   └── test_main.py
    ├── .gitignore
    └── README.md
    
  2. Run the nirman command from your terminal:

    nirman structure.md
    

    This will create the my-python-app/ directory and all its contents in your current location.

Command-Line Options

usage: nirman [-h] [-o OUTPUT] [--dry-run] [-f] input_file

Build a project structure from a Markdown tree file.

positional arguments:
  input_file            Path to the Markdown file containing the project structure (must have a .md or .markdown extension).

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Target directory where the structure will be created (default: current directory).
  --dry-run             Print the actions that would be taken without creating any files or directories.
  -f, --force           Overwrite existing files if they are encountered.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nirman_cli-0.1.9.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nirman_cli-0.1.9-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file nirman_cli-0.1.9.tar.gz.

File metadata

  • Download URL: nirman_cli-0.1.9.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nirman_cli-0.1.9.tar.gz
Algorithm Hash digest
SHA256 327bceb28ef1907039e7f6c3152e20b4159a32ec48ee0dc69ac0384087603a42
MD5 63def5ab2d724172592d7414c1f0db52
BLAKE2b-256 1e4b34900d7cc9deace5934db6847974b3c299e1762c86eedb87f502ba22dc17

See more details on using hashes here.

Provenance

The following attestation bundles were made for nirman_cli-0.1.9.tar.gz:

Publisher: ci-cd.yml on Hemanth0411/Nirman-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nirman_cli-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: nirman_cli-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nirman_cli-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ed79604a5af701430285c8b4d779f5208ced4f0e35a14cdcceedfd6f31f51e46
MD5 0d4a1b2c87d9185065ec967a8fb03ee6
BLAKE2b-256 1c7ca6ed54f0438ce31220d11f418ee6194ff8e017fd53a7d9d3b6c6c6f3cf87

See more details on using hashes here.

Provenance

The following attestation bundles were made for nirman_cli-0.1.9-py3-none-any.whl:

Publisher: ci-cd.yml on Hemanth0411/Nirman-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page