/
githubmirror
/
rclone
Обзор
Документация
Войти
/
githubmirror
/
rclone
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
cmd/test/test.go
32 строки
734 B
albertony
docs: change syntax hightlighting for command examples from sh to console
01 ноя 2025, 17:33
01 ноя 2025, 17:33
059ad47
Код
Авторство
О чём код?
// Package test provides the test command. package test import ( "github.com/rclone/rclone/cmd" "github.com/spf13/cobra" ) func init() { cmd.Root.AddCommand(Command) } // Command definition for cobra var Command = &cobra.Command{ Use: "test <subcommand>", Short: `Run a test command`, Long: `Rclone test is used to run test commands. Select which test command you want with the subcommand, eg ` + "```console" + ` rclone test memory remote: ` + "```" + ` Each subcommand has its own options which you can see in their help. **NB** Be careful running these commands, they may do strange things so reading their documentation first is recommended.`, Annotations: map[string]string{ "versionIntroduced": "v1.55", }, }