跳转至

Opt nas236 命令行

syno

syno cli

manage kinds of syno cli

--name hello-world

--name repo

--name backup-rpcweb

--name git-hook

--name gen-clone-url

--name git-sync

--name force-mirror

--name restore-mirror

--name fork-github-com

--name fetch-github-com

--name fetch-all-github-com

--name block-ip-list

--name list-top-branches

--name approve-force-fetch

--name github-default-branch

--name update-all-github-com-about-topic

--name update-all-customized-about-topic

--name update-customized-about-topic

--name sync-rat

--name sync-all-rat

--name get-github-com-issues

--name get-all-github-com-issues

--name approve-force-remove-incorrect-github-issues

--name update-all-github-com-repos

--name update-nas-auth-file

  • true -n, --name: tool alias
  • option -u, --url: git clone url, for example https://github.shao.sh/Shao/test.git
  • option -f, --file: resource raw file, for example /app/.jenkins/workspace/
  • false -o, --noact: no act with user
  • option -b, --branch: git branch, for example main
  • option -w, --newrev: new ref from repository, for example 964a1951f83184c6d56e89dd120b8ebc8081c6cd

syno hello world

hello world in syno

  • false -c, --crontab: task run in crontab
  • option -t, --time: extract time

--locate home

--locate lanxi

  • option -l, --locate: locate home/lanxi