From 86b951ef981f3089992623c2ddecaf190313d05a Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Mon, 21 Aug 2023 10:35:14 -0400 Subject: [PATCH] Update links to github CLI pages (#1236) --- content/zh-cn/admin/tootctl.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/content/zh-cn/admin/tootctl.md b/content/zh-cn/admin/tootctl.md index bd29300d..776f1353 100644 --- a/content/zh-cn/admin/tootctl.md +++ b/content/zh-cn/admin/tootctl.md @@ -23,7 +23,7 @@ RAILS_ENV=production bin/tootctl help ## 基础命令 -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/cli.rb" caption="lib/cli.rb" >}} +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/cli/base.rb" caption="lib/mastodon/cli/base.rb" >}} ### `tootctl self-destruct` {#self-destruct} @@ -51,7 +51,7 @@ RAILS_ENV=production bin/tootctl help ## 帐户相关命令 {#accounts} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/accounts_cli.rb" caption="lib/mastodon/accounts_cli.rb" >}} +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/cli/accounts.rb" caption="lib/mastodon/cli/accounts.rb" >}} ### `tootctl accounts rotate` {#accounts-rotate} @@ -208,7 +208,7 @@ RAILS_ENV=production bin/tootctl help ## 缓存相关命令 {#cache} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/cache_cli.rb" caption="lib/mastodon/cache_cli.rb" >}} +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/cli/cache.rb" caption="lib/mastodon/cli/cache.rb" >}} ### `tootctl cache clear` {#cache-clear} @@ -232,7 +232,7 @@ RAILS_ENV=production bin/tootctl help ## 域名相关命令 {#domains} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/domains_cli.rb" caption="lib/mastodon/domains_cli.rb" >}} +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/cli/domains.rb" caption="lib/mastodon/cli/domains.rb" >}} ### `tootctl domains purge` {#domains-purge} @@ -269,7 +269,7 @@ RAILS_ENV=production bin/tootctl help ## Emoji相关命令 {#emoji} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/emoji_cli.rb" caption="lib/mastodon/emoji_cli.rb" >}} +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/cli/emoji.rb" caption="lib/mastodon/cli/emoji.rb" >}} ### `tootctl emoji import` {#emoji-import} @@ -301,7 +301,7 @@ RAILS_ENV=production bin/tootctl help ## 时间流(Feeds)相关命令 {#feeds} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/feeds_cli.rb" caption="lib/mastodon/feeds_cli.rb" >}} +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/cli/feeds.rb" caption="lib/mastodon/cli/feeds.rb" >}} ### `tootctl feeds build` {#feeds-build} @@ -327,7 +327,7 @@ RAILS_ENV=production bin/tootctl help ## 媒体相关命令 {#media} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/media_cli.rb" caption="lib/mastodon/media_cli.rb" >}} +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/cli/media.rb" caption="lib/mastodon/cli/media.rb" >}} ### `tootctl media remove` {#media-remove} @@ -390,7 +390,7 @@ RAILS_ENV=production bin/tootctl help ## 预览卡片(Preview Cards)相关命令 {#preview_cards} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/preview_cards_cli.rb" caption="lib/mastodon/preview_cards_cli.rb" >}} +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/cli/preview_cards.rb" caption="lib/mastodon/cli/preview_cards.rb" >}} ### `tootctl preview_cards remove` {#preview_cards-remove} @@ -409,7 +409,7 @@ RAILS_ENV=production bin/tootctl help ## 搜索相关命令 {#search} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/search_cli.rb" caption="lib/mastodon/search_cli.rb" >}} +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/cli/search.rb" caption="lib/mastodon/cli/search.rb" >}} ### `tootctl search deploy` {#search-deploy} @@ -425,7 +425,7 @@ RAILS_ENV=production bin/tootctl help ## 站点设定相关命令 {#settings} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/settings_cli.rb" caption="lib/mastodon/settings_cli.rb" >}} +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/cli/settings.rb" caption="lib/mastodon/cli/settings.rb" >}} ### `tootctl settings registrations open` {#settings-registrations-open} @@ -443,7 +443,7 @@ RAILS_ENV=production bin/tootctl help ## 嘟文相关命令 {#statuses} -{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/statuses_cli.rb" caption="lib/mastodon/statuses_cli.rb" >}} +{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/lib/mastodon/cli/statuses.rb" caption="lib/mastodon/cli/statuses.rb" >}} ### `tootctl statuses remove` {#statuses-remove}