Skip to content

Commit ef7124b

Browse files
committed
Version 0.2
1 parent cba9776 commit ef7124b

File tree

7 files changed

+58
-28
lines changed

7 files changed

+58
-28
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,19 @@ You can now start using PyShell to run commands and scripts.
5050

5151
PyShell supports the following commands:
5252

53-
- `view`: List files in the current directory.
53+
- `view`: List visible files and folders in the current directory.
5454
- `goto <directory>`: Change the current directory.
5555
- `display <file_path>`: View the contents of a file.
5656
- `current`: Display the current working directory.
5757
- `show_current`: Show current directory on start.
5858
- `hide_current`: Hide current directory on start.
5959
- `create_file <file_name>`: Create a new file
6060
- `create_folder <folder_name>`: Create a new folder
61+
- `view_all`: List all files and folders in the current directory.
62+
- `copy <source_file> <new_file>`: Copy a file/folder
63+
- `move <source_file> <new_file>`: Move a file/folder
64+
- `delete <source>`: Delete a file/folder
65+
- `delete_folder <source>`: Delete a folder
6166
- `__help__`: Get help about PyShell.
6267
- `__exit__`: Exit PyShell.
6368
- `version`: Check version.

config/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"show_dir": false,
33
"log_dir": "",
4-
"version": 0.1,
4+
"version": 0.2,
55
"name": "PyShell"
66
}

docs/assets/help.txt

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,22 @@ __help__ - Get help about commands.
44
__exit__ - Exits the shell.
55

66
Basic commands:
7-
view - View files and folders in current directory
8-
goto [directory] - Change current working directory
9-
display [file] - View contents of a file
10-
current - Prints current working directory
11-
show_current - Shows current working directory on left
12-
hide_current - Hides current working directory on left
13-
create_file [file] - Creates a new file
14-
create_folder [folder] - Creates a new folder
15-
version - Check version
16-
7+
view: List visible files and folders in the current directory.
8+
goto <directory>: Change the current directory.
9+
display <file_path>: View the contents of a file.
10+
current: Display the current working directory.
11+
show_current: Show current directory on start.
12+
hide_current: Hide current directory on start.
13+
create_file <file_name>: Create a new file
14+
create_folder <folder_name>: Create a new folder
15+
view_all: List all files and folders in the current directory.
16+
copy <source_file> <new_file>: Copy a file/folder
17+
move <source_file> <new_file>: Move a file/folder
18+
delete <source>: Delete a file/folder
19+
delete_folder <source>: Delete a folder
20+
__help__: Get help about PyShell.
21+
__exit__: Exit PyShell.
22+
version: Check version.
23+
<shell_command>: Execute a shell command.
1724

1825
Any builtin commands {example: BASH, cmd, Powershell} will work.

docs/index.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,14 +159,19 @@ <h5 class="card-title">What is PyShell?</h5>
159159
<p style="font-family: 'Baumans', cursive; font-size: 25px;">
160160
<p style="font-size: 25px; font-family: 'Baumans', cursive;">Some examples</p>
161161
<ul style="font-size: 20px; text-decoration: none; font-style: normal;">
162-
<li><code>view</code>: List files in the current directory.</li>
162+
<li><code>view</code>: List visible files and folders in the current directory.</li>
163163
<li><code>goto &lt;directory&gt;</code>: Change the current directory.</li>
164164
<li><code>display &lt;file_path&gt;</code>: View the contents of a file.</li>
165165
<li><code>current</code>: Display the current working directory.</li>
166166
<li><code>show_current</code>: Show current directory on start.</li>
167167
<li><code>hide_current</code>: Hide current directory on start.</li>
168-
<li><code>create_file &lt;file_name&gt;</code>: Create a new file</li>
169-
<li><code>create_folder &lt;folder_name&gt;</code>: Create a new folder</li>
168+
<li><code>create_file &lt;file_name&gt;</code>: Create a new file.</li>
169+
<li><code>create_folder &lt;folder_name&gt;</code>: Create a new folder.</li>
170+
<li><code>view_all</code>: List all files and folders in the current directory.</li>
171+
<li><code>copy &lt;source_file&gt; &lt;new_file&gt;</code>: Copy a file/folder.</li>
172+
<li><code>move &lt;source_file&gt; &lt;new_file&gt;</code>: Move a file/folder.</li>
173+
<li><code>delete &lt;source&gt;</code>: Delete a file/folder.</li>
174+
<li><code>delete_folder &lt;source&gt;</code>: Delete a folder.</li>
170175
<li><code>__help__</code>: Get help about PyShell.</li>
171176
<li><code>__exit__</code>: Exit PyShell.</li>
172177
<li><code>version</code>: Check version.</li>

docs/pages/README.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,20 +165,26 @@ <h2 id="commands">Commands</h2>
165165
<p>PyShell supports the following commands:</p>
166166

167167
<ul>
168-
<li><code>view</code>: List files in the current directory.</li>
168+
<li><code>view</code>: List visible files and folders in the current directory.</li>
169169
<li><code>goto &lt;directory&gt;</code>: Change the current directory.</li>
170170
<li><code>display &lt;file_path&gt;</code>: View the contents of a file.</li>
171171
<li><code>current</code>: Display the current working directory.</li>
172172
<li><code>show_current</code>: Show current directory on start.</li>
173173
<li><code>hide_current</code>: Hide current directory on start.</li>
174-
<li><code>create_file &lt;file_name&gt;</code>: Create a new file</li>
175-
<li><code>create_folder &lt;folder_name&gt;</code>: Create a new folder</li>
174+
<li><code>create_file &lt;file_name&gt;</code>: Create a new file.</li>
175+
<li><code>create_folder &lt;folder_name&gt;</code>: Create a new folder.</li>
176+
<li><code>view_all</code>: List all files and folders in the current directory.</li>
177+
<li><code>copy &lt;source_file&gt; &lt;new_file&gt;</code>: Copy a file/folder.</li>
178+
<li><code>move &lt;source_file&gt; &lt;new_file&gt;</code>: Move a file/folder.</li>
179+
<li><code>delete &lt;source&gt;</code>: Delete a file/folder.</li>
180+
<li><code>delete_folder &lt;source&gt;</code>: Delete a folder.</li>
176181
<li><code>__help__</code>: Get help about PyShell.</li>
177182
<li><code>__exit__</code>: Exit PyShell.</li>
178183
<li><code>version</code>: Check version.</li>
179184
<li><code>&lt;shell_command&gt;</code>: Execute a shell command.</li>
180185
</ul>
181186

187+
182188
<h2 id="getting-help">Getting Help</h2>
183189

184190
<p>If you need help with PyShell commands, you can use the <code>__help__</code> command to display the help

src/Startup.py

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,23 @@
1616
__exit__ - Exits the shell.
1717
1818
Basic commands:
19-
view - View files and folders in current directory
20-
goto [directory] - Change current working directory
21-
display [file] - View contents of a file
22-
current - Prints current working directory
23-
show_current - Shows current working directory on left
24-
hide_current - Hides current working directory on left
25-
create_file [file] - Creates a new file
26-
create_folder [folder] - Creates a new folder
27-
version - Check version
28-
19+
view: List visible files and folders in the current directory.
20+
goto <directory>: Change the current directory.
21+
display <file_path>: View the contents of a file.
22+
current: Display the current working directory.
23+
show_current: Show current directory on start.
24+
hide_current: Hide current directory on start.
25+
create_file <file_name>: Create a new file
26+
create_folder <folder_name>: Create a new folder
27+
view_all: List all files and folders in the current directory.
28+
copy <source_file> <new_file>: Copy a file/folder
29+
move <source_file> <new_file>: Move a file/folder
30+
delete <source>: Delete a file/folder
31+
delete_folder <source>: Delete a folder
32+
__help__: Get help about PyShell.
33+
__exit__: Exit PyShell.
34+
version: Check version.
35+
<shell_command>: Execute a shell command.
2936
3037
Any builtin commands {example: BASH, cmd, Powershell} will work.
3138
352 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)