Page MenuHomePhabricator

make scap3 look in PWD to find local CLI extensions
Closed, ResolvedPublic

Description

On initialization, scap should find and import any cli.Application subclasses in the current scap repository (PWD or a parent directory).

The immediate need is for adding a scap swat command which leverage the scap arg parse infrastructure. In the future it will allow more standardization of our cli tooling without polluting the scap package with random project-specific code. Further long-term vision: to refactor mediawiki-specific bits from scap2 into a plugin for scap3.

Revisions and Commits

rMSCA Scap
Restricted Differential Revision

Event Timeline

mmodell added a revision: Restricted Differential Revision.Aug 11 2016, 8:31 AM
mmodell moved this task from Needs triage to Scap3-MediaWiki-MVP on the Scap board.
mmodell edited projects, added Scap (Scap3-MediaWiki-MVP); removed Scap.