Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cli
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
funkwhale
cli
Commits
d7d9bc10
Commit
d7d9bc10
authored
4 years ago
by
EorlBruder
Browse files
Options
Downloads
Patches
Plain Diff
Renamed export-playlist to generate-playlist
Fixes
#16
parent
5323f481
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
funkwhale_cli/cli/tracks.py
+2
-2
2 additions, 2 deletions
funkwhale_cli/cli/tracks.py
with
2 additions
and
2 deletions
funkwhale_cli/cli/tracks.py
+
2
−
2
View file @
d7d9bc10
...
...
@@ -162,7 +162,7 @@ async def get_track_data(id, remote, format=None):
return
format
,
payload
@tracks.command
(
"
export
-playlist
"
)
@tracks.command
(
"
generate
-playlist
"
)
@click.argument
(
"
id
"
,
nargs
=-
1
,
required
=
True
)
@click.option
(
"
--format
"
,
"
-f
"
)
@click.option
(
"
-d
"
,
"
--directory
"
,
type
=
click
.
Path
(
exists
=
True
))
...
...
@@ -176,7 +176,7 @@ async def get_track_data(id, remote, format=None):
@click.option
(
"
-n
"
,
"
--name
"
,
default
=
"
playlist
"
)
@click.pass_context
@base.async_command
async
def
track_
export
_playlist
(
async
def
track_
generate
_playlist
(
ctx
,
id
,
format
,
directory
,
template
,
base_path
,
name
):
async
with
ctx
.
obj
[
"
remote
"
]:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment