Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nirman/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ def parse_markdown_tree(lines: List[str]) -> List[Tuple[int, str, bool]]:
prefix = line[:prefix_end_index]
else:
# This is the root item.
raw_name = line.strip()
raw_name = line.strip().split()[0]
prefix = ""
is_directory = True
is_directory = False

if not raw_name:
continue
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "Nirman-cli"
version = "0.1.8"
version = "0.1.9"
description = "A CLI tool to create project folder structures from a markdown file."
authors = [{ name="Hemanth Reddy Annem", email="Hemanthreddyannem@gmail.com" }]
readme = "README.md"
Expand Down