Skip to content

AlphabetType/list-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alphabet FileList

A Python CLI script demo containing a little program to list files in a folder.

Usage

To run Alphabet FileList, you can use the filelist command. To see all available arguments you can use the -h flag:

$ filelist -h

If you want to investigate the command line arguments, then you can check out the cli.py file

Installation as a User

If you have Python installed on your system, then you can install Alphabet FileList with pip. Open the terminal and run this command:

$ python -m pip install git+https://github.com/AlphabetType/list-files

You can verify that the installation was succesful by running the filelist command in your terminal.

Installation as a Developer

Clone this repository and navigate into the repository folder. After that, it's a good idea to create a virtual environment and activate it:

$ python -m venv venv/
$ source venv/bin/activate
(venv) $

Make sure that you're in the root folder of the cloned repository. Then, you can install Alphabet FileList as an installable package with pip:

(venv) $ python -m pip install -e .

You can verify that the installation was succesful by running the filelist command in your terminal.

To install all development requirements, run this command:

(venv) $ python -m pip install -r requirements.txt

Code Conventions

To stick to the same code conventions of this Repo, please run black, isort, and flake8 before committing changes:

(venv) $ black . && isort . && flake8

With this command, black and isort will fix any formatting in the files of the current working directory and its subdirectories. After that, you may need to fix the errors that flake8 points out.

Releases

No releases published

Packages

No packages published

Languages