Skip to content

Releases: gitwikc/filet

Release v1.7

11 Oct 14:59
1575498

Choose a tag to compare

Colorful output 🖌️

No boring monochrome stuff, LET'S PUT IN SOME COLOR!!! 🥳 🎆

image

Auto update feature

No more tedious download and setup. Filet automatically checks for updates every time it is run. You can also turn verbose on for update checks using the --update or -u flag

Release v1.7-beta

03 Oct 17:05

Choose a tag to compare

Release v1.7-beta Pre-release
Pre-release

Colorful output 🖌️

No boring monochrome stuff, LET'S PUT IN SOME COLOR!!! 🥳 🎆

image

Careful ⚠️

This is a beta version and breaking changes were introduced - Colored text may not work in bash

Release v1.6

28 Jul 07:21
17b0f06

Choose a tag to compare

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 notice src/ingredients.json and src/tests are ignored by default by git

Release v1.5

04 Jul 07:36
7b107f0

Choose a tag to compare

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

17 Jun 08:39
4504ed7

Choose a tag to compare

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