xlab-cli
xlab-cli ==========
Last updated 4 months ago by younesshakky .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install xlab-cli 
SYNC missed versions from official npm registry.

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.0-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

Current Tags

  • 1.0.1-alpha                                ...           latest (4 months ago)

1 Versions

  • 1.0.1-alpha                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 1
Dependencies (12)
Dev Dependencies (14)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |