WAPS Framework

WAPS Framework

  • Docs
  • Help
  • Blog

›API and CLI Guide

Introduction

  • Getting started
  • Project setup

Documentation

  • Guides
  • Config Guide
  • Class Guide
  • Page Guide
  • Plugin Guide
  • Framework Core Guide
  • Source & Content Guide
  • Object Guide
  • Static class Guide

API and CLI Guide

  • API & CLI Guide
  • API References
  • CLI References

CLI References

Introduction

The modular API system of the framework works according to the drag and drop system. To address existing APIs, the interface CLI.php is called via the shell. The individual CLIs can then be addressed via an automatically generated menu.

New CLI's can simply be dragged into the core / CLI folder. The framework does everything else.

Creating a new CLI

When building a new CLI, not many details need to be taken into account. Basically, the naming of a CLI follows the cliName.CLI.php scheme. The content of the CLI is left to the developer, but should of course be based on the common practices of command line development. Structure elements can be loaded from the existing static CLI class. Details can be found in the Static Class Guide.

Last updated on 25.4.2020 by JosunLP
← API References
  • Introduction
  • Creating a new CLI
WAPS Framework
Docs
Getting StartedGuidesAPI Reference
More
BlogGitLabImpressum
Follow @JolunJonas
Copyright © 2020 WAPS Framework Team