mapkyca/known-console-tools

There is no license information available for the latest version (1.0.0) of this package.

Development console tools for idno/known

1.0.0 2019-08-19 21:38 UTC

This package is auto-updated.

Last update: 2024-04-20 15:11:10 UTC


README

This repo contains a collection of console tools for debugging and developing for Known.

These were written in no particular order for my own use, and might be of use to you when developing plugins, patches and sites using Known.

This is a placeholder for a whole bunch of plugins... to use:

composer require mapkyca/known-console-tools

Requirements

At time of writing you'll need the latest development build of Known, which has Symfony console application support.

Usage

Copy or symlink to the directories below so that they appear in ConsolePlugins

Tools available

  • EntityDump A tool for outputting the raw contents of an object as identified by UUID, ID or short url
  • EntityList List the UUIDs of the last X entities that match the given search criteria
  • ShowACL A tool to list the access groups a given user has access to (including those supplied programmatically)
  • TweakEntity A tool to tweak field values on a given entity
  • DumpConfig Dump the current running config
  • ListUsers Quickly list system users, or optional admin users
  • ... and more

Warning

I wouldn't recommend having these in place on a live system, as that would likely pose a security risk.

These tools, for example, let you dump entity data etc.

See