chinese直男口爆体育生外卖, 99久久er热在这里只有精品99, 又色又爽又黄18禁美女裸身无遮挡, gogogo高清免费观看日本电视,私密按摩师高清版在线,人妻视频毛茸茸,91论坛 兴趣闲谈,欧美 亚洲 精品 8区,国产精品久久久久精品免费

電子發(fā)燒友App

硬聲App

0
  • 聊天消息
  • 系統(tǒng)消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會員中心
創(chuàng)作中心

完善資料讓更多小伙伴認識你,還能領取20積分哦,立即完善>

3天內(nèi)不再提示
創(chuàng)作
電子發(fā)燒友網(wǎng)>電子資料下載>電子資料>Articli多平臺文章管理工具

Articli多平臺文章管理工具

2022-05-23 | zip | 0.20 MB | 次下載 | 2積分

資料介紹

授權協(xié)議 MIT
開發(fā)語言 Google Go
軟件類型 開源軟件

軟件簡介

Articli 是一個可以管理多個平臺內(nèi)容的命令行工具, 通過解析 Markdown 文件內(nèi)容以及調用平臺接口,實現(xiàn)內(nèi)容管理。

最終目標是基于 本地文件 + Git 代碼倉 管理所有的文章, 并且可以通過命令行操作以及 CI/CD,實現(xiàn)文章在各個平臺的發(fā)布、更新等功能。 這樣做的好處有:

  • 數(shù)據(jù)安全,既發(fā)布到了第三方平臺,又可以通過 Git 代碼倉管理,避免因平臺問題導致數(shù)據(jù)丟失
  • 可以實現(xiàn)自動化,比如文章推送到自動在多個平臺發(fā)布、更新
  • 面向程序員的 CLI 工具,可以實現(xiàn)更多個性化的操作

為本項目點贊將鼓勵作者繼續(xù)完善下去,歡迎提出建議、Bug、PR。

支持的平臺

安裝

NPM

npm install -g @k8scat/articli

Homebrew

# 添加 tap
brew tap k8scat/tap
# 安裝
brew install acli

# 一條命令直接安裝
brew install k8scat/tap/acli

# 后續(xù)升級
brew update
brew upgrade k8scat/tap/acli

Docker

# 將配置文件的目錄掛載到容器內(nèi)
docker run \\
  -it \\
  --rm \\
  -v $HOME/.config/articli:/root/.config/articli \\
  k8scat/articli:latest \\
  juejin auth login

# 升級
docker pull k8scat/articli:latest

二進制

Please download from the releases page.

源碼編譯

git clone https://github.com/k8scat/articli.git
cd articli
make

文章模板

我們將使用文件內(nèi)容開頭 --- 之間的數(shù)據(jù)作為文章的配置信息(元數(shù)據(jù)), 根據(jù)配置信息在不同平臺上創(chuàng)建或更新文章,參考 文章模板。

---
# 通用配置,其他平臺可以繼承該配置
title: 標題1
brief_content: 內(nèi)容概要
cover_image: https://img.alicdn.com/tfs/TB1.jpg
prefix_content: "這是我參與xx活動..." # 前綴內(nèi)容,主要用于掘金的活動
suffix_content: |
  ## Powered by

  本文由 [Articli](https://github.com/k8scat/Articli.git) 工具自動發(fā)布。

juejin:
  title: 標題2 # 如果不填寫,則使用通用配置中的 title
  tags:
  - Go
  - 程序員
  category: 后端
  cover_image: https://img.alicdn.com/tfs/TB1.jpg
  brief_content: 內(nèi)容概要
  prefix_content: "這是我參與xx活動..." # 前綴內(nèi)容,主要用于掘金的活動
  suffix_content: |
    ## Powered by

    本文由 [Articli](https://github.com/k8scat/Articli.git) 工具自動發(fā)布。
  sync_to_org: false # 是否同步到組織,個人賬號不支持

  # 自動生成部分
  draft_id: "7xxx"
  draft_create_time: "2022-01-23 11:48:02"
  draft_update_time: "2022-01-24 11:48:02"
  article_id: "8xxx"
  article_create_time: "2022-01-25 11:48:02"
  article_update_time: "2022-01-26 11:48:02"

oschina:
  title: 標題3
  # 文章專輯
  category: 日常記錄
  # 推廣專區(qū)
  technical_field: 大前端
  # 僅自己可見
  privacy: false
  # 如果是轉載文章,請?zhí)顚懺逆溄?/span>
  original_url: ""
  # 禁止評論
  deny_comment: false
  # 下載外站圖片到本地
  download_image: false
  # 置頂
  top: false
  prefix_content: "這是我參與xx活動..." # 前綴內(nèi)容,主要用于掘金的活動
  suffix_content: |
    ## Powered by

    本文由 [Articli](https://github.com/k8scat/Articli.git) 工具自動發(fā)布。

  # 自動生成部分
  draft_id: "7xxx"
  draft_create_time: "2022-01-23 11:48:02"
  draft_update_time: "2022-01-24 11:48:02"
  article_id: "8xxx"
  article_create_time: "2022-01-25 11:48:02"
  article_update_time: "2022-01-26 11:48:02"

csdn:
  title: 標題3
  brief_content: 內(nèi)容概要
  categories:
  - Golang
  - 后端
  tags:
  - cli
  - csdn
  # 可選值: public, private, read_need_vip, read_need_fans
  read_type: public
  # 可選值: 發(fā)布 publish, 草稿 draft
  publish_status: publish
  # 可選值: 原創(chuàng) original, 轉載 repost, 翻譯 translated
  article_type: original
  # 轉載時必須填寫
  original_url: ""
  # 原文允許轉載或者本次轉載已經(jīng)獲得原文作者授權
  authorized_status: false
  # 支持單圖、三圖、無圖
  cover_images:
  - https://img.alicdn.com/tfs/TB1.jpg
  - https://img.alicdn.com/tfs/TB2.jpg
  - https://img.alicdn.com/tfs/TB3.jpg
  prefix_content: "這是我參與xx活動..." # 前綴內(nèi)容,主要用于掘金的活動
  suffix_content: |
    ## Powered by

    本文由 [Articli](https://github.com/k8scat/Articli.git) 工具自動發(fā)布。

  # 自動生成部分
  article_id: "8xxx"
  article_create_time: "2022-01-25 11:48:02"
  article_update_time: "2022-01-26 11:48:02"
---

內(nèi)容概要



正文內(nèi)容

使用說明

所有的命令都可以通過 -h --help 參數(shù)查看幫助信息。

$ acli --help
Manage content in multi platforms.

Usage:
  acli [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  csdn        Manage content in csdn.net
  github      Manage content in github.com
  help        Help about any command
  juejin      Manage content in juejin.cn
  oschina     Manage content in oschina.net
  version     Show version information

Flags:
  -c, --config string   An alternative config file
  -h, --help            help for acli

Use "acli [command] --help" for more information about a command.

查看版本

acli version

掘金

登錄

使用瀏覽器 Cookie 進行登錄

# 交互式登錄
acli juejin auth login

# 從標準輸入獲取 Cookie
acli juejin auth login --with-cookie < cookie.txt

創(chuàng)建/更新文章

# create 命令可以通過識別文章的配置信息,自動選擇創(chuàng)建或者更新文章,同時發(fā)布到掘金
acli juejin article create /path/to/article.md

查看文章列表

通過 -k --keyword 關鍵字參數(shù)過濾文章列表

acli juejin article list -k Docker

打開文章

使用默認瀏覽器打開文章

acli juejin article view 7055689358657093646

查看分類

acli juejin category list

查看標簽

# 過濾關鍵字
acli juejin tag list -k Go

緩存標簽

由于標簽的數(shù)量比較多,可以通過設置緩存加快讀取速度

# 設置緩存
acli juejin tag cache

# 使用緩存
acli jujin tag list --use-cache

上傳圖片

支持上傳本地圖片和網(wǎng)絡圖片

# 本地圖片
acli juejin image upload leetcode-go.png

# 網(wǎng)絡圖片
acli juejin image upload https://launchtoast.com/wp-content/uploads/2021/11/learn-rust-programming-language.png

開源中國

登錄

# 交互式登錄
acli oschina auth login

# 從標準輸入中讀取 cookie
acli oschina auth login --with-cookie < cookie.txt

創(chuàng)建/更新文章

acli oschina article create /path/to/article.md

CSDN

登錄

# 交互式登錄
acli csdn auth login

# 從標準輸入中讀取 cookie
acli csdn auth login --with-cookie < cookie.txt

創(chuàng)建/更新文章

acli csdn article create /path/to/article.md

GitHub

登錄

使用 GitHub Token 進行登錄

# 交互式登錄
acli github auth login

# 從標準輸入獲取 Token
acli github auth login --with-token < token.txt

上傳文件

# 上傳 README.md 文件到 testrepo 倉庫
acli github file upload --repo testrepo README.md

# 使用網(wǎng)絡資源
# 使用 -p 指定在倉庫中存儲的路徑
acli github file upload --repo testrepo \\
  -p testdir/homebrew-social-card.png \\
  https://brew.sh/assets/img/homebrew-social-card.png

列取文件

# 獲取代碼倉 testrepo 根目錄的文件列表,包括文件和目錄
acli github file get --repo testrepo

# 如果 testpath 是目錄,則獲取代碼倉 testrepo 中 testpath 目錄下的文件;
# 如果 testpath 是文件,則只獲取該文件
acli github file get --repo testrepo --path testpath

刪除文件

# 使用 -o 或 --owner 可以指定倉庫的 owner
acli github file delete --owner testowner --repo testrepo --path testdir/filename.txt

簡化命令

使用 alias 別名進行簡化命令

# 將 acli juejin 簡化成 jcli
cat >> ~/.bashrc << EOF
alias 
alias 
alias 
EOF

# 生效
source ~/.bashrc

# 使用簡化后的命令查看掘金的登錄狀態(tài)
jcli auth status
?

下載該資料的人也在下載 下載該資料的人還在閱讀
更多 >

評論

查看更多

下載排行

本周

  1. 1NS1081/NS1081S/NS1081Q USB 3.0閃存數(shù)據(jù)手冊
  2. 0.40 MB   |  4次下載  |  2 積分
  3. 2光伏并網(wǎng)逆變器原理
  4. 7.31 MB   |  3次下載  |  2 積分
  5. 3T20電烙鐵原理圖資料
  6. 0.27 MB   |  2次下載  |  免費
  7. 4PL83081 雙路恒流同步降壓轉換器技術手冊
  8. 3.34 MB   |  1次下載  |  免費
  9. 5PL88052 4.8V至60V輸入,5A,同步降壓轉換器技術手冊
  10. 3.36 MB   |  1次下載  |  免費
  11. 6LX8201微孔霧化驅動芯片電路圖資料
  12. 0.15 MB   |  1次下載  |  免費
  13. 7PC6200_7V直流電機驅動器技術手冊
  14. 0.47 MB   |  次下載  |  免費
  15. 8恒溫晶體振蕩器(OCXO)FOC-2D:20.6×20.6mm在通信基站和測試設備中的應用參數(shù)規(guī)格
  16. 485.75 KB  |  次下載  |  免費

本月

  1. 1如何看懂電子電路圖
  2. 12.88 MB   |  329次下載  |  免費
  3. 2RK3588數(shù)據(jù)手冊
  4. 2.24 MB   |  14次下載  |  免費
  5. 3PC5502負載均流控制電路數(shù)據(jù)手冊
  6. 1.63 MB   |  12次下載  |  免費
  7. 4STM32F10x參考手冊資料
  8. 13.64 MB   |  12次下載  |  1 積分
  9. 5OAH0428 V1.0英文規(guī)格書
  10. 5.86 MB   |  8次下載  |  免費
  11. 6NS1081/NS1081S/NS1081Q USB 3.0閃存數(shù)據(jù)手冊
  12. 0.40 MB   |  4次下載  |  2 積分
  13. 7PID控制算法學習筆記資料
  14. 3.43 MB   |  3次下載  |  2 積分
  15. 8光伏并網(wǎng)逆變器原理
  16. 7.31 MB   |  3次下載  |  2 積分

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935132次下載  |  10 積分
  3. 2開源硬件-PMP21529.1-4 開關降壓/升壓雙向直流/直流轉換器 PCB layout 設計
  4. 1.48MB  |  420064次下載  |  10 積分
  5. 3Altium DXP2002下載入口
  6. 未知  |  233089次下載  |  10 積分
  7. 4電路仿真軟件multisim 10.0免費下載
  8. 340992  |  191415次下載  |  10 積分
  9. 5十天學會AVR單片機與C語言視頻教程 下載
  10. 158M  |  183349次下載  |  10 積分
  11. 6labview8.5下載
  12. 未知  |  81599次下載  |  10 積分
  13. 7Keil工具MDK-Arm免費下載
  14. 0.02 MB  |  73818次下載  |  10 積分
  15. 8LabVIEW 8.6下載
  16. 未知  |  65990次下載  |  10 積分