I have forked the Filer repository from Github in order to contribute to the project. Filer is a library which allows you to manage a filesystem within your browser.
Du is a unix command that is used to estimate disk usage by a file or directory on Unix. I have taken the task of working on Filer to implement this shell function in order to have basic functionality and present the directory and file sizes in bytes. The version I have produced will give, for a specified directory, the size of files within it and the size of the directories within it without providing more information about files within the specific directory.
However, once I started programming and testing, I slowly learned best practices and the workflow. I started by learning from code from other already implemented such as Shell.ls and Shell.cat command and exploring both the implementation and the test cases. Development was largely based on a test-first approach where I would write a test for the command, then program accordingly. This allowed me to easily check if what I had written is correct.
You can check the status of my Du command in Filer in this pull request.