fid-ffmpeg 0.3.4__tar.gz → 0.3.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fid-ffmpeg
3
- Version: 0.3.4
3
+ Version: 0.3.5
4
4
  Summary: based ffmpeg CLI for video operations
5
5
  Author-email: omar_abdalgwad <ahlawyomar95@gmail.com>
6
6
  Description-Content-Type: text/markdown
@@ -2,9 +2,15 @@ import typer
2
2
  import subprocess
3
3
  from pathlib import Path
4
4
  import shutil
5
+ from welcome import welcome
5
6
  app = typer.Typer()
6
7
 
7
8
  formats = [".mp4",".mov",".avi",".webm"]
9
+ @app.callback(invoke_without_command=True)
10
+ def main(ctx: typer.context):
11
+ welcome()
12
+ if ctx_involved_subcommand id none:
13
+ print(oops!)
8
14
 
9
15
  def ffmpeg():
10
16
  if shutil.which("ffmpeg")is None:
@@ -17,7 +23,6 @@ def ckvideo(vid:Path):
17
23
  raise typer.Exit()
18
24
 
19
25
 
20
-
21
26
  @app.command()
22
27
  def info(vid: Path):
23
28
  ffmpeg()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fid-ffmpeg
3
- Version: 0.3.4
3
+ Version: 0.3.5
4
4
  Summary: based ffmpeg CLI for video operations
5
5
  Author-email: omar_abdalgwad <ahlawyomar95@gmail.com>
6
6
  Description-Content-Type: text/markdown
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel"]
3
3
  build-backend = "setuptools.build_meta"
4
4
  [project]
5
5
  name = "fid-ffmpeg"
6
- version = "0.3.4"
6
+ version = "0.3.5"
7
7
  description = " based ffmpeg CLI for video operations"
8
8
  readme = "README.md"
9
9
  authors = [{ name = "omar_abdalgwad", email = "ahlawyomar95@gmail.com" }]
File without changes
File without changes
File without changes
File without changes