From 79967cc2c3ab598ecc1623ae705a537273d0ae54 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Mon, 28 Jul 2014 21:38:25 -0700 Subject: [PATCH] init cli --- .gitignore | 2 +- cli/README.md | 4 ++++ cli/composer.json | 7 +++++++ cli/uelearning.php | 18 ++++++++++++++++++ 4 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 cli/README.md create mode 100644 cli/composer.json create mode 100644 cli/uelearning.php diff --git a/.gitignore b/.gitignore index 30576f5..2d772a7 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,4 @@ vendor/ # Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file # You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file -# composer.lock +composer.lock diff --git a/cli/README.md b/cli/README.md new file mode 100644 index 0000000..dd3e602 --- /dev/null +++ b/cli/README.md @@ -0,0 +1,4 @@ +後端伺服器 (指令界面) +=== + +這個... 現在沒有東西,就這樣 (逃 diff --git a/cli/composer.json b/cli/composer.json new file mode 100644 index 0000000..22c007b --- /dev/null +++ b/cli/composer.json @@ -0,0 +1,7 @@ +{ + "name": "uelearning", + "description": "UElearning", + "require": { + "symfony/console": "2.5.*" + } +} diff --git a/cli/uelearning.php b/cli/uelearning.php new file mode 100644 index 0000000..aefbddd --- /dev/null +++ b/cli/uelearning.php @@ -0,0 +1,18 @@ +#!/usr/bin/env php +run(); +?> \ No newline at end of file