File tree Expand file tree Collapse file tree 1 file changed +29
-6
lines changed Expand file tree Collapse file tree 1 file changed +29
-6
lines changed Original file line number Diff line number Diff line change @@ -14,21 +14,38 @@ How to use:
14
14
15
15
``` https://github.com/ITboo/nodejs-file-manager.git ```
16
16
17
- 2 . Switch branch to 'dev'
17
+ 2 . Go to task repo
18
18
19
- ``` git switch dev ```
19
+ ``` cd nodejs-file-manager ```
20
20
21
21
3 . Start the program by running:
22
22
23
23
``` npm run start -- --username=your_username ```
24
24
25
- 4 . Type help to see command list *
25
+ Default username is 'UserName'
26
26
27
- 5 . To exit the programm you are to type .exit or press Ctrl+C
27
+ 4 . Type ``` help ``` to see command list (optional)
28
28
29
+ 5 . To exit the program type ``` .exit ``` or press ``` Ctrl+C ```
29
30
30
31
31
- ### COMMAND LIST
32
+ - ### COMMAND LIST
33
+
34
+ ## Navigation
35
+ Go to dedicated folder from current directory
36
+
37
+ ``` cd path_to_directory ```
38
+
39
+ Example:
40
+ ``` cd d: ```
41
+
42
+ Go upper from current directory
43
+
44
+ ``` up ```
45
+
46
+ Print in console list of all files and folders in current directory
47
+
48
+ ``` ls ```
32
49
33
50
- ## Basic operations with files
34
51
Read file and print it's content in console (should be done using Readable stream):
@@ -90,4 +107,10 @@ Compress file
90
107
91
108
Decompress file
92
109
93
- ``` decompress path_to_file path_to_destination ```
110
+ ``` decompress path_to_file path_to_destination ```
111
+
112
+ Example:
113
+
114
+ ``` compress test.txt test ```
115
+
116
+ ``` decompress ./test.txt.br test ```
You can’t perform that action at this time.
0 commit comments