init: term colors, completion, execution

This commit is contained in:
2019-01-19 15:40:52 +01:00
commit c909a11420
26 changed files with 3097 additions and 0 deletions

23
appinfo/info.xml Normal file
View File

@ -0,0 +1,23 @@
<?xml version="1.0"?>
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>testnextcloudapp</id>
<name>Test Nextcloud App</name>
<summary>Application Test</summary>
<description><![CDATA[Application Test]]></description>
<version>0.0.1</version>
<licence>agpl</licence>
<author mail="adphi.apps@gmail.com" >Adphi</author>
<namespace>TestNextcloudApp</namespace>
<category>security</category>
<bugs>https://git.adphi.net/Adphi/TestNextcloudApp</bugs>
<dependencies>
<nextcloud min-version="13" max-version="15"/>
</dependencies>
<navigations>
<navigation>
<name>Test Nextcloud App</name>
<route>testnextcloudapp.page.index</route>
</navigation>
</navigations>
</info>

16
appinfo/routes.php Normal file
View File

@ -0,0 +1,16 @@
<?php
/**
* Create your routes in here. The name is the lowercase name of the controller
* without the controller part, the stuff after the hash is the method.
* e.g. page#index -> OCA\TestNextcloudApp\Controller\PageController->index()
*
* The controller class has to be registered in the application.php file since
* it's instantiated in there
*/
return [
'routes' => [
['name' => 'occ#index', 'url' => '/', 'verb' => 'GET'],
['name' => 'occ#cmd', 'url' => '/cmd', 'verb' => 'POST'],
['name' => 'occ#list', 'url' => '/cmd', 'verb' => 'GET'],
]
];