Skip to content

Commit ed3ac6c

Browse files
committed
update
1 parent 7181497 commit ed3ac6c

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

lash/file_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
@click.command()
99
@click.argument('path', metavar='<path>', type=click.Path(exists=True), required=False, default='.')
10-
@click.option('-t', type=click.STRING, help='[Flag] Organize files per type')
10+
@click.option('-t', type=click.STRING, help='Organize files per type')
1111
@click.option('-m', is_flag=True, default=False, show_default=True, help='Midia organize ')
1212
@click.option('-d', is_flag=True, default=True, show_default=True, help='Docs organize ')
1313
@click.option('-o', is_flag=True, default=True, show_default=True, help='Create ~Others~ folder ')

lash/image_handler.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,18 @@ def wmark(text, path, all, c, t, tp, ts, tc, tf, axis):
274274
@click.option('-axis', nargs=2, type=click.INT, default=(0, 0), help='Set new values for x, y dimensions')
275275
@click.option('-rs', is_flag=True, help='Resize the copied image to be pasted')
276276
def paste(path, ps, axis, rs, all, c, t):
277+
"""
278+
Paste one image in other image(s)
279+
280+
In the path argument you need pass an image to be pasted, like a filter, effect, watermark or other,
281+
second you need pass one or more images to be edited, -ps to one image or -all for all images on a
282+
folder. You can set new axis to do de paste, by default x, y = 0, 0. Try to use the -axis option.
283+
\b
284+
285+
\b
286+
$~ lash image paste -rs -t C:\\Usrs\\Usr\\Fld\\im.png -ps C:\\Usrs\\Usr\\Fld\\im2.png
287+
$~ lash image paste C:\\Usrs\\Usr\\Fld\\im.png -all C:\\Usrs\\Usr\\Fld -axis 50 50
288+
"""
277289
if not c:
278290
c = True if t else None
279291
x, y = axis

0 commit comments

Comments
 (0)