🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@bcgov/nrdk

Package Overview
Dependencies
Maintainers
12
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bcgov/nrdk

NR Developer/Deployment Kit

latest
Source
npmnpm
Version
0.1.0-rc.119
Version published
Maintainers
12
Created
Source

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

Keywords

oclif

FAQs

Package last updated on 17 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts