From 17146450e946bfa9fd743f1a248ad9a7bb451b4c Mon Sep 17 00:00:00 2001 From: Martin Date: Mon, 20 Aug 2018 09:49:47 +0200 Subject: [PATCH] rename s3:ls to s3:list --- appinfo/info.xml | 2 +- lib/command/{ls.php => list.php} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename lib/command/{ls.php => list.php} (98%) diff --git a/appinfo/info.xml b/appinfo/info.xml index 1f6c9e62..f2d02a40 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -30,7 +30,7 @@ This extension is the successor of the [ownCloud Objectstore App](https://market - OCA\Files_Primary_S3\Command\ls + OCA\Files_Primary_S3\Command\s3list OCA\Files_Primary_S3\Command\createBucket diff --git a/lib/command/ls.php b/lib/command/list.php similarity index 98% rename from lib/command/ls.php rename to lib/command/list.php index c0fee940..b558f0c5 100644 --- a/lib/command/ls.php +++ b/lib/command/list.php @@ -31,7 +31,7 @@ require_once __DIR__ . '/../../vendor/autoload.php'; -class ls extends Command { +class s3list extends Command { /** @var IConfig */ private $config; @@ -43,7 +43,7 @@ public function __construct(IConfig $config) { protected function configure() { $this - ->setName('s3:ls') + ->setName('s3:list') ->setDescription('List objects, buckets or versions of an object') ->addArgument('bucket', InputArgument::OPTIONAL, 'Name of the bucket; it`s objects will be listed') ->addArgument('object', InputArgument::OPTIONAL, 'Key of the object; it`s versions will be listed');