Releases: gitwikc/filet
Release v1.7
Release v1.7-beta
Release v1.6
Added gitignore feature
Now you can add files/folders to the .gitignore file directly from Filet. Just prefix the file or folder name in the Filet structure with a * to add it to a .gitignore file in the filet rootlocation
Example 🥊
$ filet -r D://Projects/pie_py src[main.py+pie.py+*ingredients.json+*tests[make_pie.py]]
This would create the file tree as usual, but with an additional file at D://Projects/pie_py/.gitignore, which contains -
src/ingredients.json
src/tests
When you initialize a git repository in
D://Projects/pie_py, you will noticesrc/ingredients.jsonandsrc/testsare ignored by default by git
Release v1.5
New improved file tree view
Replaced the previous version's python inbuilt filetree printer with new custom filetree printer with ASCII characters for better readability
$ filet dir1[f1.txt+f2.txt+dir2[f3.txt]]
✔ Successfully created file tree
▼ dir1
∟ f1.txt
∟ f2.txt
▼ dir2
∟ f3.txt
This release has new flags added to CLI
--version or -v flag
This flag displays the version number and release date of current version of filet like
> Filet version v1.5
> Release date 2021-07-04
----------------------------------------
Improved readability in help
Flags and arguments have been segregated into groups for better readability in help
usage: filet.exe [-h] [--version] [--root [ROOT]] [--notree] struc
optional arguments:
-h, --help show this help message and exit
INFO:
--version, -v Prints out current version and release date of Filet
CREATE:
--root [ROOT], -r [ROOT]
Location of root directory to create the filetree
struc The structure of the filetree in filet syntax
--notree File tree will not be logged to console
Release v1.1
This release has flags added to the CLI
You can view the usage of the filet command now by using --help or -h flag
Usage:
usage: filet.exe [-h] [--root [ROOT]] [--notree] struc
positional arguments:
struc The structure of the filetree in filet synax
optional arguments:
-h, --help show this help message and exit
--root [ROOT], -r [ROOT]
Root directory to create the filetree
--notree File tree will not be logged to console
How --notree works
- Without
--notree
$ filet dir1[f1.txt+f2.txt+dir2[f3.txt]]
Successfully created file tree
[{'dir1': ['f1.txt', 'f2.txt', {'dir2': ['f3.txt']}]}]
- With
--notree
$ filet dir1[f1.txt+f2.txt+dir2[f3.txt]] --notree
Successfully created file tree
