
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Nirman-cli
Advanced tools
A simple and powerful CLI tool to create project folder and file structures from Markdown and YAML tree definitions.
Stop creating files and folders manually. Define your project’s skeleton in a readable Markdown or YAML file, and let nirman build it for you in seconds.
Two Input Formats:
.md, .markdown).yml, .yaml)Readable Tree Syntax: Write clean collapsible structures.
Safe Execution: Preview actions with --dry-run.
Flexible: Overwrite files using --force.
Lightweight & Fast: Uses simple tree-based parsing.
Cross-platform: Works on Linux, macOS, and Windows.
Install from PyPI:
pip install Nirman-cli
Create a file structure.md:
my-python-app/
├── src/
│ ├── __init__.py
│ └── main.py
├── tests/
│ └── test_main.py
└── README.md
Build the structure:
nirman structure.md
Nirman also supports YAML.
Rule: Individual files must be listed under a files: key.
Example (structure.yml):
project:
src:
files:
- main.py
- utils.py
services:
api:
files:
- handler.py
- routes.py
files:
- README.md
- .gitignore
Build it:
nirman structure.yml
This produces:
output_folder/
└── project/
├── src/
│ ├── main.py
│ └── utils.py
├── services/
│ └── api/
│ ├── handler.py
│ └── routes.py
├── README.md
└── .gitignore
usage: nirman [-h] [-o OUTPUT] [--dry-run] [-f] input_file
Build a project structure from a Markdown (.md) or YAML (.yml/.yaml) file.
positional arguments:
input_file Path to the structure file.
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.
Your YAML structure must follow these rules:
Every folder is a dictionary key.
All direct files inside a folder must be placed under:
files:
- file1.txt
- file2.py
Nested folders must be dictionaries.
Lists may contain:
This rule is reflected in the updated parser:
# Individual files must be under "files:"
if key == "files":
...
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
A CLI tool to create project folder structures from a markdown file.
We found that Nirman-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.