xlab-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.1-alpha • Public • Published

xlab-cli

Just a tiny command line interface for gitlab API

oclif Version Downloads/week License

Usage

$ npm install -g xlab-cli
$ xlab-cli COMMAND
running command...
$ xlab-cli (-v|--version|version)
xlab-cli/1.0.1-alpha linux-x64 node-v10.14.2
$ xlab-cli --help [COMMAND]
USAGE
  $ xlab-cli COMMAND
...

Commands

xlab-cli autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ xlab-cli autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ xlab-cli autocomplete
  $ xlab-cli autocomplete bash
  $ xlab-cli autocomplete zsh
  $ xlab-cli autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

xlab-cli configure

Configure xlab-cli

USAGE
  $ xlab-cli configure

OPTIONS
  -h, --help  show CLI help
  --prompt

See code: src/commands/configure.ts

xlab-cli help [COMMAND]

display help for xlab-cli

USAGE
  $ xlab-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

xlab-cli mr:delete ID

USAGE
  $ xlab-cli mr:delete ID

OPTIONS
  -h, --help  show CLI help

See code: src/commands/mr/delete.ts

xlab-cli mr:list

list merge requests, shows open MRs by default

USAGE
  $ xlab-cli mr:list

OPTIONS
  -h, --help         show CLI help
  -s, --state=state  [default: open]

See code: src/commands/mr/list.ts

xlab-cli mr:open

Open new merge request

USAGE
  $ xlab-cli mr:open

OPTIONS
  -a, --assignee=assignee        Assignee
  -c, --title=title              MR title. defaults to the last commit message if none is provided
  -d, --description=description  Description
  -h, --help                     show CLI help
  -s, --source=source            Source branch. defaults to your current branch if none is provided
  -t, --target=target            (required) [default: DEV] Target branch. defaults to DEV if none is provided
  -w, --assign                   list assignees

See code: src/commands/mr/open.ts

xlab-cli mr:state ID STATE

USAGE
  $ xlab-cli mr:state ID STATE

ARGUMENTS
  ID     MR id
  STATE  State of MR close/reopen

OPTIONS
  -h, --help  show CLI help

See code: src/commands/mr/state.ts

Readme

Keywords

Package Sidebar

Install

npm i xlab-cli

Weekly Downloads

0

Version

1.0.1-alpha

License

MIT

Unpacked Size

3.84 MB

Total Files

1745

Last publish

Collaborators

  • younesshakky