Files
iris-context/commands/sys/asr.go
T
VERSE 2ef3c90819 feat(commands): more commands (#30)
- I wrote a scripts to copy and generate all commands missing in iris
from fig repo: https://github.com/withfig/autocomplete
- Add a new script to generate commands docs about which commands
currently are inside commands folder
377d4aac663590e504fe39a92eb4dac4cbd333b2
- Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
2026-07-04 22:08:36 +07:00

44 lines
2.7 KiB
Go

package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "asr",
Description: "Can be a disk image, /dev entry, or volume mountpoint",
Subcommands: []core.Subcommand{
{Name: "help", Description: "Displays asr usage information"},
{Name: "version", Description: "Displays asr version"},
{Name: "restore", Description: "Restores a disk image or volume to another volume"},
{Name: "server", Description: "Multicasts source over the network"},
{Name: "source", Description: "UDIF disk image local/remote path"},
{Name: "interface", Description: "The network interface to be used for multicasting"},
{Name: "configuration", Description: "Configuration file in standard property list format"},
},
Options: []core.Option{
{Name: "--source", Description: "Can be a disk image, /dev entry, or volume mountpoint"},
{Name: "--target", Description: "Can be a /dev entry, or volume mountpoint"},
{Name: "--file", Description: "When performing a multicast restore, --file can be specified instead of --target"},
{Name: "--erase", Description: "Specifies the destination filesystem format"},
{Name: "--noprompt", Description: "Suppresses the prompt which usually occurs before target"},
{Name: "--timeout", Description: "Number of seconds that a multicast client should wait"},
{Name: "--puppetstrings", Description: "Provide progress output that is easy for another program to parse"},
{Name: "--noverify", Description: "Allows restores to proceed even if the source's catalog file is fragmented"},
{Name: "--SHA256", Description: "Forces the restore to use the SHA-256 hash in the image during verification"},
{Name: "--sourcevolumename", Description: "Forces asr to use replication for restoring APFS volumes"},
{Name: "--useInverter", Description: "Forces asr to use the inverter for restoring APFS volumes"},
{Name: "--toSnapshot", Description: "One of the options that control how asr uses memory"},
{Name: "--buffersize", Description: "One of the options that control how asr uses memory"},
{Name: "--csumbuffers", Description: "One of the options that control how asr uses memory"},
{Name: "--csumbuffersize", Description: "One of the options that control how asr uses memory"},
{Name: "--verbose", Description: "Enables verbose progress and error messages"},
{Name: "--debug", Description: "Enables other progress and error messages"},
{Name: "--interface", Description: "The network interface to be used for multicasting"},
{Name: "--config", Description: "Server requires a configuration file to be passed"},
{Name: "--plist", Description: "Writes its output as an XML-formatted plist"},
},
})
}