Update README
This commit is contained in:
parent
2e6eb2b2e3
commit
ff4204517d
26
README.md
26
README.md
@ -1,2 +1,28 @@
|
||||
# organize-my-photos
|
||||
|
||||
Terminal program that organizes and organizes the photographs in folders by year, month and day. #python #terminal
|
||||
|
||||
## Install
|
||||
|
||||
``` bash
|
||||
pip3 install --user Organize-my-photos
|
||||
```
|
||||
|
||||
## Run
|
||||
|
||||
``` bash
|
||||
organize_my_photos [PATH]
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
``` bash
|
||||
organize_my_photos travel
|
||||
```
|
||||
|
||||
## Options
|
||||
|
||||
| FLAG | DESCRIPTION | EXAMPLE |
|
||||
| :--: | :--: | :--: |
|
||||
| --locale | Specifies the language of the months. | organize_my_photos --locale es_ES |
|
||||
| --extension | Change file extension for sorting. | organize_my_photos --extension mp4 |
|
||||
|
@ -13,7 +13,7 @@ EXTENSIONS = ('jpg', 'jpeg', 'gif')
|
||||
@click.command()
|
||||
@click.argument('path')
|
||||
@click.option('--locale', default=False, help='Specifies the language of the months. Example: es_ES')
|
||||
@click.option('--extension', default=False, help='change file extension for sorting.')
|
||||
@click.option('--extension', default=False, help='Change file extension for sorting.')
|
||||
def organize_my_photos(path, locale, extension):
|
||||
""" Sort in folder all photos """
|
||||
# Set locale
|
||||
|
4
setup.py
4
setup.py
@ -2,7 +2,7 @@ from setuptools import setup
|
||||
setup(
|
||||
name = 'Organize-my-photos',
|
||||
py_modules=['organize_my_photos'],
|
||||
version = '1.0.0',
|
||||
version = '1.0.1',
|
||||
python_requires='>3.6',
|
||||
description = 'Terminal program that organizes and organizes the photographs in folders by year, month and day.',
|
||||
author = 'Andros Fenollosa',
|
||||
@ -19,6 +19,6 @@ setup(
|
||||
],
|
||||
entry_points='''
|
||||
[console_scripts]
|
||||
ad=organize_my_photos:organize_my_photos
|
||||
organize_my_photos=organize_my_photos:organize_my_photos
|
||||
'''
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user