song

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

song download 命令:从 flag 解析到文件落盘的端到端垂直切片(PRD-0013 Phase C)。

流程:URL(拿直链) → Detail(拿歌名/封面) → songdl.DownloadOne(文件名→mkdir→ 冲突→下载→元数据)→ 渲染输出。

下载核心已下沉到 internal/cli/songdl 包(song 与 playlist 命令共享)。 本文件只做 song 命令专属的 flag 编排 + endpoint 调用 + 结果渲染。

本切片交付主干(--id/--level/--out/--force); --dry-run/--no-metadata/--filename/位置参数/.part 续传留给 issue #24。

Package song 提供歌曲相关命令。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(k *kit.Kit) *cobra.Command

NewCommand 创建 song 命令组。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL