Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@wpe-tkpd/kratos

Package Overview
Dependencies
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wpe-tkpd/kratos

Kratos CLI for WPE at Tokopedia

latest
Source
npmnpm
Version
1.0.7
Version published
Weekly downloads
1
-50%
Maintainers
5
Weekly downloads
 
Created
Source

kratos-cli

Version

Kratos CLI by WPE Tokopedia

Installation

Install Kratos-CLI

$ pnpm i -g @wpe-tkpd/kratos

Install GH-CLI

# Install gh cli
$ brew install gh

# Login in GH-CLI
$ gh auth login

Usage

Login

$ kratos login -c=YOUR_CONNECT_SID_COOKIE

Login Status Check

$ kratos status

Create Kratos Tag

$ kratos create [tag_name] --service=[service] --env=[env] --branch=[branch/pr]
# OR
$ kratos create [tag_name] -s=[service] -e=[env] -b=[branch/pr]

Example:

$ kratos create some-tag-name --service=atreus --env=staging --branch=pr/123
ArgumentDesc
tag_nameKratos tag name
ParamAliasDesc
--service-sYour service name
--env-eEnvironment: beta or staging
--branch-bBranch name or PR number pr/123

Auto create PR

$ kratos pull-request [title]

Example:

$ kratos pull-request "feat(atreus): something"

Deploy Tag with Auto Deploy

$ kratos pull-request [title] -s=[service] -e=[environment]

Example:

$ kratos pull-request "feat(atreus): something" -s=atreus -e=staging

Deploy Tag

$ kratos deploy [tag_name] [env]

Test Tag

$ kratos test [branch] [options]
ArgumentDesc
branchBranch name / PR number (pr/1234)
OptionDesc
--coverageTrigger code coverage collection

Example:

$ kratos test -b=branchname
# OR with options
$ kratos test pr/1234 --coverage

Release Tag

$ kratos release [tag_name]

Example:

$ kratos release feature-thor-production

Changelog

CHANGELOG.md

Copyright © 2020 by WPE Tokopedia

FAQs

Package last updated on 28 Dec 2020

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