Skip to content

Commit 072a03a

Browse files
committed
TR update, update the README.md
1 parent 3cef3b0 commit 072a03a

File tree

2 files changed

+44
-2
lines changed

2 files changed

+44
-2
lines changed

directory-tree-generator-python/README.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To run **RP Tree**, you need to download the source code. Then open a terminal o
99
1. Create and activate a Python virtual environment
1010

1111
```sh
12-
$ cd rptree/
12+
$ cd rptree_project/
1313
$ python -m venv ./venv
1414
$ source venv/bin/activate
1515
(venv) $
@@ -23,6 +23,27 @@ $ source venv/bin/activate
2323

2424
**Note:** The `-h` or `--help` option provides help on how to use RP Tree.
2525

26+
To take a quick test on **RP Tree**, you can use the sample `home/` directory provided along with the application's code and run the following command:
27+
28+
```sh
29+
(venv) $ python tree.py ../hello/
30+
../hello/
31+
32+
├── hello/
33+
│ ├── __init__.py
34+
│ └── hello.py
35+
36+
├── tests/
37+
│ └── test_hello.py
38+
39+
├── requirements.txt
40+
├── setup.py
41+
├── README.md
42+
└── LICENSE
43+
```
44+
45+
That's it! You've generated a nice directory tree diagram.
46+
2647
## Current Features
2748

2849
If you run RP Tree with a directory path as an argument, then you get the full directory tree printed on your screen. The default input directory is your current directory.

directory-tree-generator-python/source_code_final/README.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To run **RP Tree**, you need to download the source code. Then open a terminal o
99
1. Create and activate a Python virtual environment
1010

1111
```sh
12-
$ cd rptree/
12+
$ cd rptree_project/
1313
$ python -m venv ./venv
1414
$ source venv/bin/activate
1515
(venv) $
@@ -23,6 +23,27 @@ $ source venv/bin/activate
2323

2424
**Note:** The `-h` or `--help` option provides help on how to use RP Tree.
2525

26+
To take a quick test on **RP Tree**, you can use the sample `home/` directory provided along with the application's code and run the following command:
27+
28+
```sh
29+
(venv) $ python tree.py ../hello/
30+
../hello/
31+
32+
├── hello/
33+
│ ├── __init__.py
34+
│ └── hello.py
35+
36+
├── tests/
37+
│ └── test_hello.py
38+
39+
├── requirements.txt
40+
├── setup.py
41+
├── README.md
42+
└── LICENSE
43+
```
44+
45+
That's it! You've generated a nice directory tree diagram.
46+
2647
## Current Features
2748

2849
If you run RP Tree with a directory path as an argument, then you get the full directory tree printed on your screen. The default input directory is your current directory.

0 commit comments

Comments
 (0)