承接 genxbe/k3x-cli-tools 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

genxbe/k3x-cli-tools

最新稳定版本:0.0.4

Composer 安装命令:

composer require genxbe/k3x-cli-tools

包简介

A bunch of usefull tools to use with the Kirby CLI

README 文档

README

License PHP Version Kirby

ALPHA VERSION, not battle tested yet!

A bunch of usefull (and opiniated) tools to use with the Kirby CLI.

Options

# site/config/config.php
return [
    'genxbe.k3x-cli-tools' => [
        'maintenance' => true,
    ],
];

Usage

You need to have the kirby cli installed. You can install it via composer:

composer global require getkirby/cli

This CLI plugin has a set of opinionated commands that are meant to be used with the Kirby CLI.

Available commands

Kirby features

  • kirby x:kirby:roots
    • Show the roots of your Kirby installation in a pretty way
  • kirby x:kirby:down {email}
    • Put your site in maintenance mode with an optional email address for contact reasons
  • kirby x:kirby:up
    • Disable the maintenance mode

Plugin features

  • kirby x:plugins:list
    • Show the plugins of your kirby installation with version numbers in a pretty way
  • kirby x:plugins:delete
    • Delete a plugin from your kirby installation (via 'composer remove')
  • kirby x:plugins:publish {filetype}
    • Publish plugin overwriteable files to your root installation. If you don't pass a filetype you will be asked to choose one in a handy menu.

Maintenance mode

You can disable maintenance mode if you don't want your site to go in maintenance mode when there's a .maintenance file in the root. Mode can also be (de)activated via kirby x:kirby:down and kirby x:kirby:up.

The panel will always be reachable, even if the site is in maintenance mode. If you are logged in you will also be able to visit the site.

Plugin publishing

You can publish plugin overwriteable files to your root installation. This is useful if you want to overwrite a plugin file with your own version. You can also use this to publish a plugin file to your root installation if you want to edit it.

This feature expects usage of the folders blueprints, snippets, collections and templates. Subfolders within these main folders are also supported.

Filetypes supported:

  • blueprints
  • snippets
  • collections
  • templates

Installation

Download

Download and copy this repository to /site/plugins/k3x-cli-tools.

Git submodule

git submodule add https://github.com/genxbe/k3x-cli-tools.git site/plugins/k3x-cli-tools

Composer

composer require genxbe/k3x-cli-tools

License

k3x-cli-tools is an open-sourced software licensed under the MIT license.

Credits

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固