Skip to content

Release v1.1

Choose a tag to compare

@gitwikc gitwikc released this 17 Jun 08:39
· 40 commits to master since this release
4504ed7

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