Metadata-Version: 2.4
Name: Nirman-cli
Version: 0.1.1
Summary: A CLI tool to create project folder structures from a markdown file.
Author-email: Hemanth Reddy Annem <your-email@example.com>
License: MIT License
        
        Copyright (c) 2025 Hemanth Reddy Annem
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/Hemanth0411/Nirman-cli
Project-URL: Repository, https://github.com/Hemanth0411/Nirman-cli
Project-URL: Bug Tracker, https://github.com/Hemanth0411/Nirman-cli/issues
Keywords: cli,scaffolding,project-structure,markdown
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Utilities
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Nirman-cli

<p align="center">
  <a href="#">
    <img src="https://img.shields.io/pypi/v/Nirman-cli?color=blue&label=pypi%20package" alt="PyPI Version">
  </a>
  <a href="https://github.com/Hemanth0411/Nirman-cli/blob/main/LICENSE">
    <img src="https://img.shields.io/github/license/Hemanth0411/Nirman-cli" alt="License">
  </a>
</p>

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:

```bash
pip install Nirman-cli
```

## Usage

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

    ```markdown
    my-python-app/
    ├── src/
    │   ├── __init__.py
    │   └── main.py
    ├── tests/
    │   └── test_main.py
    ├── .gitignore
    └── README.md
    ```

2.  Run the `nirman` command from your terminal:

    ```bash
    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.

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](LICENSE) file for details.
