Skip to content

Commit 86489ed

Browse files
authored
Merge branch 'master' into arcade-platformer
2 parents ecb647c + 68b69bf commit 86489ed

File tree

86 files changed

+2159
-21
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+2159
-21
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# RP Tree
2+
3+
RP Tree is a command-line tool to generate a directory tree diagram.
4+
5+
## Run the App
6+
7+
To run **RP Tree**, you need to download the source code. Then open a terminal or command-line window and run the following steps:
8+
9+
1. Create and activate a Python virtual environment
10+
11+
```sh
12+
$ cd rptree_project/
13+
$ python -m venv ./venv
14+
$ source venv/bin/activate
15+
(venv) $
16+
```
17+
18+
2. Run the application
19+
20+
```sh
21+
(venv) $ python tree.py /path/to/directory/
22+
```
23+
24+
**Note:** The `-h` or `--help` option provides help on how to use RP Tree.
25+
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+
47+
## Current Features
48+
49+
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.
50+
51+
RP Tree also provides the following options:
52+
53+
- `-v`, `--version` shows the application version and exits
54+
- `-h`, `--help` show a usage message
55+
- `-d`, `--dir-only` generates a directory-only tree
56+
- `-o`, `--output-file` generates a tree and save it to a file in markdown format
57+
58+
## Release History
59+
60+
- 0.1.0
61+
- A work in progress
62+
63+
## About the Author
64+
65+
Leodanis Pozo Ramos - Email: [email protected]

directory-tree-generator-python/hello/LICENSE

Whitespace-only changes.

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

Whitespace-only changes.

directory-tree-generator-python/hello/hello/__init__.py

Whitespace-only changes.

directory-tree-generator-python/hello/hello/hello.py

Whitespace-only changes.

directory-tree-generator-python/hello/requirements.txt

Whitespace-only changes.

directory-tree-generator-python/hello/setup.py

Whitespace-only changes.

directory-tree-generator-python/hello/tests/test_hello.py

Whitespace-only changes.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# RP Tree
2+
3+
RP Tree is a command-line tool to generate a directory tree diagram.
4+
5+
## Run the App
6+
7+
To run **RP Tree**, you need to download the source code. Then open a terminal or command-line window and run the following steps:
8+
9+
1. Create and activate a Python virtual environment.
10+
11+
```sh
12+
$ cd rptree_project/
13+
$ python -m venv ./venv
14+
$ source venv/bin/activate
15+
(venv) $
16+
```
17+
18+
2. Run the application.
19+
20+
```sh
21+
(venv) $ python tree.py /path/to/directory/
22+
```
23+
24+
**Note:** The `-h` or `--help` option provides help on how to use RP Tree.
25+
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+
47+
## Current Features
48+
49+
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.
50+
51+
RP Tree also provides the following options:
52+
53+
- `-v`, `--version` shows the application version and exits
54+
- `-h`, `--help` shows a usage message
55+
- `-d`, `--dir-only` generates a directory-only tree
56+
- `-o`, `--output-file` generates a tree and save it to a file in markdown format
57+
58+
## Release History
59+
60+
- 0.1.0
61+
- A work in progress
62+
63+
## About the Author
64+
65+
Leodanis Pozo Ramos - Email: [email protected]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"""Top-level package for RP Tree."""
2+
3+
__version__ = "0.1.0"

0 commit comments

Comments
 (0)