GitlabCli.CLI (GitLab CLI v0.1.0)

escript main_module

Summary

Functions

Main entry point for the Gitlab CLI

print help message

Functions

Link to this function

main(args \\ [])

Main entry point for the Gitlab CLI

Examples

iex> GitlabCli.CLI.main(["--help"])
Usage: gitlab_cli [options]
Options:
  --help  Show this help message and exit
:ok

iex> GitlabCli.CLI.main(["--project-id", "54958131", "--source-branch", "dev", "--target-branch", "main", "--file-path", "dev.yml", "--pattern", "charge-backend:.*", "--content", "charge-backend:foobar"])
:ok
Link to this function

parse_args(args)

print help message

Examples

iex> GitlabCli.CLI.response(:help)
Usage: gitlab_cli [options]
Options:
  --help  Show this help message and exit
:ok