Skip to content

Commit 946098d

Browse files
committed
build 0.0.1
1 parent 1b3d658 commit 946098d

20 files changed

+92
-85
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
LifterLMS CLI Changelog
2+
=======================
3+
4+
v0.0.1 - 2021-07-27
5+
-------------------
6+
7+
+ Initial public release

bin/Command.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
*
77
* @package LifterLMS/CLI/Docs;
88
*
9-
* @since [version]
10-
* @version [version]
9+
* @since 0.0.1
10+
* @version 0.0.1
1111
*
1212
* @link https://github.com/wp-cli/handbook/blob/master/bin/command.php
1313
*/
@@ -28,7 +28,7 @@
2828
/**
2929
* Generate documentation for LifterLMS CLI commands
3030
*
31-
* @since [version]
31+
* @since 0.0.1
3232
*
3333
* @when before_wp_load
3434
*/

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"node_modules",
3434
"tests",
3535
"tmp",
36-
"vendor",
36+
"!/vendor",
3737

3838
"!/composer.json"
3939
]

lifterlms-cli.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*
55
* @package LifterLMS/CLI/Main
66
*
7-
* @since [version]
8-
* @version [version]
7+
* @since 0.0.1
8+
* @version 0.0.1
99
*
1010
* Plugin Name: LifterLMS CLI
1111
* Plugin URI: https://lifterlms.com/
@@ -49,7 +49,7 @@
4949
/**
5050
* Main Plugin Instance
5151
*
52-
* @since [version]
52+
* @since 0.0.1
5353
*
5454
* @return LLMS_CLI
5555
*/

src/Commands/AbstractCommand.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
*
55
* @package LifterLMS/CLI
66
*
7-
* @since [version]
8-
* @version [version]
7+
* @since 0.0.1
8+
* @version 0.0.1
99
*/
1010

1111
namespace LifterLMS\CLI\Commands;
1212

1313
/**
1414
* Base CLI command for use by LifterLMS CLI commands
1515
*
16-
* @since [version]
16+
* @since 0.0.1
1717
*/
1818
abstract class AbstractCommand extends \WP_CLI_Command {
1919

@@ -30,7 +30,7 @@ abstract class AbstractCommand extends \WP_CLI_Command {
3030
/**
3131
* Chain a command within the class
3232
*
33-
* @since [version]
33+
* @since 0.0.1
3434
*
3535
* @param string $command Method name of the command to chain.
3636
* @param array $assoc_args Associative array of command options.
@@ -46,7 +46,7 @@ protected function chain_command( $command, $args = array(), $assoc_args = array
4646
/**
4747
* Retrieve an LLMS_Add_On object for a given add-on by it's slug.
4848
*
49-
* @since [version]
49+
* @since 0.0.1
5050
*
5151
* @param string $slug An add-on slug. Must be prefixed.
5252
* @param bool|WP_Error|string $err If truthy, will return `null` and use log to the console using a WP_CLI method as defined by $err_type.
@@ -73,7 +73,7 @@ protected function get_addon( $slug, $err = false, $err_type = 'error' ) {
7373
/**
7474
* Prefix an add-on slug with `lifterlms-` if it's not already present.
7575
*
76-
* @since [version]
76+
* @since 0.0.1
7777
*
7878
* @param string $slug Add-on slug.
7979
* @return string

src/Commands/AddOn/Activate.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
*
55
* @package LifterLMS/CLI
66
*
7-
* @since [version]
8-
* @version [version]
7+
* @since 0.0.1
8+
* @version 0.0.1
99
*/
1010

1111
namespace LifterLMS\CLI\Commands\AddOn;
1212

1313
/**
1414
* AddOn Activation command
1515
*
16-
* @since [version]
16+
* @since 0.0.1
1717
*/
1818
trait Activate {
1919

@@ -28,7 +28,7 @@ trait Activate {
2828
* [--all]
2929
* : If set, all of the LifterLMS add-ons installed on the site will be activated.
3030
*
31-
* @since [version]
31+
* @since 0.0.1
3232
*
3333
* @param array $args Indexed array of positional command arguments.
3434
* @param array $assoc_args Associative array of command options.
@@ -55,7 +55,7 @@ public function activate( $args, $assoc_args ) {
5555
*
5656
* Ensures add-on can be activated and actually activates the add-on.
5757
*
58-
* @since [version]
58+
* @since 0.0.1
5959
*
6060
* @param string $slug Add-on slug.
6161
* @param LLMS_Add_On $addon Add-on object.

src/Commands/AddOn/ChannelSet.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
*
55
* @package LifterLMS/CLI
66
*
7-
* @since [version]
8-
* @version [version]
7+
* @since 0.0.1
8+
* @version 0.0.1
99
*/
1010

1111
namespace LifterLMS\CLI\Commands\AddOn;
1212

1313
/**
1414
* AddOn channel-set command
1515
*
16-
* @since [version]
16+
* @since 0.0.1
1717
*/
1818
trait ChannelSet {
1919

@@ -36,7 +36,7 @@ trait ChannelSet {
3636
*
3737
* @subcommand channel-set
3838
*
39-
* @since [version]
39+
* @since 0.0.1
4040
*
4141
* @param array $args Indexed array of positional command arguments.
4242
* @return null

src/Commands/AddOn/Deactivate.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
*
55
* @package LifterLMS/CLI
66
*
7-
* @since [version]
8-
* @version [version]
7+
* @since 0.0.1
8+
* @version 0.0.1
99
*/
1010

1111
namespace LifterLMS\CLI\Commands\AddOn;
1212

1313
/**
1414
* AddOn Activation and deactivation commands
1515
*
16-
* @since [version]
16+
* @since 0.0.1
1717
*/
1818
trait Deactivate {
1919

@@ -31,7 +31,7 @@ trait Deactivate {
3131
* [--all]
3232
* : If set, all of the plugin add-ons installed on the site will be activated.
3333
*
34-
* @since [version]
34+
* @since 0.0.1
3535
*
3636
* @param array $args Indexed array of positional command arguments.
3737
* @param array $assoc_args Associative array of command options.
@@ -58,7 +58,7 @@ public function deactivate( $args, $assoc_args ) {
5858
*
5959
* Ensures add-on can be deactivated and actually deactivates (and maybe uninstalls) the add-on.
6060
*
61-
* @since [version]
61+
* @since 0.0.1
6262
*
6363
* @param string $slug Add-on slug.
6464
* @param LLMS_Add_On $addon Add-on object.

src/Commands/AddOn/Enumerate.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*
55
* @package LifterLMS/CLI
66
*
7-
* @since [version]
8-
* @version [version]
7+
* @since 0.0.1
8+
* @version 0.0.1
99
*/
1010

1111
namespace LifterLMS\CLI\Commands\AddOn;
@@ -17,7 +17,7 @@
1717
*
1818
* "List" is a php reserved keyword, so we enumerate instead.
1919
*
20-
* @since [version]
20+
* @since 0.0.1
2121
*
2222
* @link https://www.php.net/manual/en/reserved.keywords.php
2323
*/
@@ -99,7 +99,7 @@ trait Enumerate {
9999
* # List all add-ons licensed on the site.
100100
* wp llms addon list --license=active
101101
*
102-
* @since [version]
102+
* @since 0.0.1
103103
*
104104
* @param array $args Indexed array of positional command arguments.
105105
* @param array $assoc_args Associative array of command options.

src/Commands/AddOn/Get.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*
55
* @package LifterLMS/CLI
66
*
7-
* @since [version]
8-
* @version [version]
7+
* @since 0.0.1
8+
* @version 0.0.1
99
*/
1010

1111
namespace LifterLMS\CLI\Commands\AddOn;
@@ -15,7 +15,7 @@
1515
/**
1616
* AddOn Get command
1717
*
18-
* @since [version]
18+
* @since 0.0.1
1919
*/
2020
trait Get {
2121

@@ -69,7 +69,7 @@ trait Get {
6969
* * changelog
7070
* * documentation
7171
*
72-
* @since [version]
72+
* @since 0.0.1
7373
*
7474
* @param array $args Indexed array of positional command arguments.
7575
* @param array $assoc_args Associative array of command options.

0 commit comments

Comments
 (0)