@bcgov/nrdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-rc.119 • Public • Published

nrdk

img oclif Version Downloads/week License

Prerequisites

  • Setup yout git CLI so that credentials are being cached. You can use the store or cache credential helper. PS.: Jenkins will do that automatically for you when running within a jenkins job.

Usage

$ npm install -g @bcgov/nrdk
$ nrdk COMMAND
running command...
$ nrdk (-v|--version|version)
@bcgov/nrdk/0.1.0-rc.119 linux-x64 node-v12.22.4
$ nrdk --help [COMMAND]
USAGE
  $ nrdk COMMAND
...

The CLI can also be run with npx:

$ npx @bcgov/nrdk (-v|--version|version)
$ npx @bcgov/nrdk --help [COMMAND]
USAGE
  $ nrdk COMMAND

Commands

nrdk backlog:checkin

On a Feature Branch, pushes local changes to the remote repository, and creates or updates a pull request to merge it into the Release branch.

USAGE
  $ nrdk backlog:checkin

EXAMPLES
  # nrdk backlog:checkout <Jira issue ID>
        # git add .
        # git commit -m "[Jira Issue] Adding new feature"
        # nrdk backlog:checkin
        Creates a new pull request merging branch Feature/[Jira Issue] into Release/<Jira Issue's Release's RFC's ID>
  # git branch // already on Feature/[Jira Issue]
        # git add .
        # git commit -m "[Jira Issue] Expanding on feature"
        # nrdk backlog:checkin
        Updates the existing pull request with the new commit(s).

See code: src/commands/backlog/checkin.ts

nrdk backlog:checkout [ISSUE]

Given a Jira Issue, checks out a Git branch named Feature/[Jira Issue] to resolve that Issue.

USAGE
  $ nrdk backlog:checkout [ISSUE]

ARGUMENTS
  ISSUE  Jira issue key (e.g.: WEBADE-123)

EXAMPLE
  # nrdk backlog:checkout IRS-200
        # git status
        On branch IRS-200

See code: src/commands/backlog/checkout.ts

nrdk help [COMMAND]

display help for nrdk

USAGE
  $ nrdk help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Dependents (0)

Package Sidebar

Install

npm i @bcgov/nrdk

Weekly Downloads

16

Version

0.1.0-rc.119

License

Apache-2.0

Unpacked Size

39.1 MB

Total Files

12099

Last publish

Collaborators

  • irfan.charania
  • citzcodemvp
  • stoews
  • taylorfries
  • bradenmitchell
  • ty2k
  • mgranbois
  • sheaphillips
  • sidmclaughlin
  • michael.nelson.gov.bc.ca
  • jleach
  • shellyxuehan
  • parcjason
  • akroon3r
  • bc-gov-common-services
  • nicoledegreef
  • qqnluaq
  • jujaga
  • dgboss