| Class | Gitlab::CLI |
| In: |
lib/gitlab/cli.rb
lib/gitlab/cli_helpers.rb |
| Parent: | Object |
Processes a CLI command and outputs a result to the stream (stdout).
@example
Gitlab::CLI.run('help')
Gitlab::CLI.run('help', ['issues'])
@param [String] cmd The name of a command. @param [Array] args The optional arguments for a command. @return [nil]
Starts a new CLI session.
@example
Gitlab::CLI.start(['help']) Gitlab::CLI.start(['help', 'issues'])
@param [Array] args The command and it‘s optional arguments.