Giter Site home page Giter Site logo

coding-cli's Introduction

CODING cli

CI codecov docker hub

CODING cli 基于 Laravel Zero

run in Docker

docker pull ecoding/coding-cli
docker run -it ecoding/coding-cli
docker run -it ecoding/coding-cli wiki:import --help
docker run -it -v $(pwd):/root --env CODING_TOKEN=foo --env CONFLUENCE_USERNAME=admin ecoding/coding-cli wiki:import
docker run -it -v $(pwd):/root --env-file .env ecoding/coding-cli wiki:import

docker run coding cli

run without Docker

要求:PHP 8.0 或更高版本

访问「CODING 公共制品库」,下载后在命令行中执行。

在 Linux/macOS 中,建议重命名,并放到系统目录:

chmod +x coding.phar
sudo mv coding.phar /usr/local/bin/coding
coding list

Confluence to CODING Wiki

  1. 浏览器访问 Confluence 空间,导出 HTML,获得一个 zip 压缩包。

image

  1. 浏览器访问 CODING,创建个人令牌

image

  1. 打开命令行,进入 zip 文件所在的目录,执行命令导入:
cd ~/Downloads/
docker run -it -v $(pwd):/root --env CODING_IMPORT_PROVIDER=Confluence \
  --env CODING_IMPORT_DATA_TYPE=HTML \
  --env CODING_IMPORT_DATA_PATH=./Confluence-space-export-231543-81.html.zip \
  --env CODING_TOKEN=foo \
  ecoding/coding-cli wiki:import

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.