Skip to content

Commit

Permalink
Add clipboard flag to Readme & change order
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaBeloglazov committed May 7, 2024
1 parent b770749 commit 0d2e0f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ syncedlyrics "SEARCH_TERM"
| Flag | Description |
| --- | --- |
| `-o` | Path to save `.lrc` lyrics, default="{search_term}.lrc" |
| `` | Copies lyrics to clipboard. Uses [clipman](https://github.com/NikitaBeloglazov/clipman) module |
| `-p` | Space-separated list of [providers](#providers) to include in searching |
| `-l` | Language code of the translation ([ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format) |
| `-v` | Use this flag to show the logs |
| `-v` | Use this flag to show the logs |
| `--allow-plain` | Return a plain text (not synced) lyrics if no LRC format was found |
| `--enhanced` | Return an [Enhanced](https://en.wikipedia.org/wiki/LRC_(file_format)#A2_extension:_word_time_tag) (word-level karaoke) format

Expand Down
4 changes: 2 additions & 2 deletions syncedlyrics/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ def cli_handler():
"-o", "--output", help="Path to save '.lrc' lyrics", default="{search_term}.lrc"
)
parser.add_argument(
"-v", "--verbose", help="Use this flag to show the logs", action="store_true"
"-c", "--clipboard", help="Copies lyrics to clipboard after finish", action="store_true"
)
parser.add_argument(
"-c", "--clipboard", help="Copies lyrics to clipboard after finish", action="store_true"
"-v", "--verbose", help="Use this flag to show the logs", action="store_true"
)
parser.add_argument(
"--allow-plain",
Expand Down

0 comments on commit 0d2e0f2

Please sign in to comment.