跳到主要内容
版本:v1.9

Archive init

初始化一个空的压缩包文件,以供 syncarchive-store 命令使用。

v1.9.2 及后续版本起可用。

快速上手

hangar archive init ./example.zip

使用方法

hangar archive init --help
Init an empty Archive file for use by sync/archive-store commands.

Usage:
hangar archive init [flags]

Aliases:
init, i

Examples:
hangar archive init ./ARCHIVE_NAME.zip

Flags:
-h, --help help for init

Global Flags:
--debug enable debug output
--insecure-policy run Hangar without policy check