Skip to content

Commit

Permalink
Merge branch 'master' of github.com:JordanRL/Roster
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanRL committed Jul 6, 2021
2 parents f02f314 + b3ba4c0 commit 58c1c24
Show file tree
Hide file tree
Showing 10 changed files with 272 additions and 88 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"license": "GPL-3.0-only",
"require": {
"symfony/console": "^v5.3",
"samsara/mason": "^0.1",
"samsara/mason": "^0.2",
"hassankhan/config": "^2.2",
"symfony/yaml": "^5.3",
"php": ">=8.0"
Expand Down
58 changes: 27 additions & 31 deletions docs/roster/latest/Samsara/Roster/App.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Samsara\Roster > App

*No description available*
Class App

This class configures and sets up the Symfony/Console application so that it is ready for the command to be executed.


## Inheritance
Expand Down Expand Up @@ -33,7 +35,7 @@

!!! signature constant "App::VERSION"
value
: 'v0.1.0-alpha'
: 'v0.1.0'



Expand Down Expand Up @@ -99,7 +101,7 @@
: string[][]

description
: An array of abbreviations
: *No description available*

Returns an array of possible abbreviations given a set of names.

Expand Down Expand Up @@ -190,7 +192,7 @@ Returns an array of possible abbreviations given a set of names.
: int

description
: 0 if everything went fine, or an error code
: *No description available*

Runs the current application.

Expand Down Expand Up @@ -227,7 +229,7 @@ Runs the current application.
: HelperSet

description
: The HelperSet instance associated with this command
: *No description available*

Get the helper set associated with the command.

Expand Down Expand Up @@ -255,7 +257,7 @@ Get the helper set associated with the command.
: InputDefinition

description
: The InputDefinition instance
: *No description available*

Gets the InputDefinition related to this Application.

Expand All @@ -266,7 +268,7 @@ Gets the InputDefinition related to this Application.
: string

description
: A help message
: *No description available*

Gets the help message.

Expand All @@ -277,7 +279,7 @@ Gets the help message.
: bool

description
: Whether to catch exceptions or not during commands execution
: *No description available*

Gets whether to catch exceptions or not during commands execution.

Expand Down Expand Up @@ -305,7 +307,7 @@ Gets whether to catch exceptions or not during commands execution.
: bool

description
: Whether to automatically exit after a command execution or not
: *No description available*

Gets whether to automatically exit after a command execution or not.

Expand Down Expand Up @@ -333,7 +335,7 @@ Gets whether to automatically exit after a command execution or not.
: string

description
: The application name
: *No description available*

Gets the name of the application.

Expand Down Expand Up @@ -361,7 +363,7 @@ Gets the name of the application.
: string

description
: The application version
: *No description available*

Gets the application version.

Expand Down Expand Up @@ -389,7 +391,7 @@ Gets the application version.
: string

description
: The long application version
: *No description available*

Returns the long version of the application.

Expand All @@ -408,7 +410,7 @@ Returns the long version of the application.
: Command

description
: The newly created command
: *No description available*

Registers a new command.

Expand Down Expand Up @@ -448,7 +450,7 @@ Adds an array of command objects.
: Command|null

description
: The registered command if enabled or null
: *No description available*

Adds a command object.

Expand All @@ -469,9 +471,7 @@ Adds a command object.
: Command

description
: A Command object


: *No description available*

Returns a registered command by name or alias.

Expand All @@ -490,7 +490,7 @@ Returns a registered command by name or alias.
: bool

description
: true if the command exists, false otherwise
: *No description available*

Returns true if the command exists, false otherwise.

Expand All @@ -501,7 +501,7 @@ Returns true if the command exists, false otherwise.
: string[]

description
: An array of namespaces
: *No description available*

Returns an array of all unique namespaces used by currently registered commands.

Expand All @@ -522,9 +522,7 @@ Returns an array of all unique namespaces used by currently registered commands.
: string

description
: A registered namespace


: *No description available*

Finds a registered namespace by a name or an abbreviation.

Expand All @@ -543,9 +541,7 @@ Finds a registered namespace by a name or an abbreviation.
: Command

description
: A Command instance


: *No description available*

Finds a command by name or alias.

Expand All @@ -566,7 +562,7 @@ Finds a command by name or alias.
: Command[]

description
: An array of Command instances
: *No description available*

Gets the commands (registered in the given namespace if provided).

Expand Down Expand Up @@ -620,7 +616,7 @@ Gets the commands (registered in the given namespace if provided).
: string

description
: The namespace of the command
: *No description available*

Returns the namespace part of the command name.

Expand Down Expand Up @@ -743,7 +739,7 @@ Sets the default Command name.
: int

description
: 0 if everything went fine, or an error code
: *No description available*

Runs the current command.

Expand Down Expand Up @@ -775,7 +771,7 @@ Gets the name of the command based on input.
: InputDefinition

description
: An InputDefinition instance
: *No description available*

Gets the default input definition.

Expand All @@ -786,7 +782,7 @@ Gets the default input definition.
: Command[]

description
: An array of default Command instances
: *No description available*

Gets the default commands that should always be available.

Expand All @@ -797,7 +793,7 @@ Gets the default commands that should always be available.
: HelperSet

description
: A HelperSet instance
: *No description available*

Gets the default helper set with the helpers that should always be available.

Expand Down
Loading

0 comments on commit 58c1c24

Please sign in to comment.