0.3.2 • Published 4 years ago

dev20k-cli v0.3.2

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

dev20k-cli

Pro CLI commands that make your pocket filled with dollars, because you will become so good & efficient.

Table of contents

ChapterLink
Prerequisitesclick here
Installationclick here
Usageclick here
-- Git commandsclick here
-- Bash commandsclick here

Prerequisites

Node >=12.16.1

On unix based systems: bash or zsh

On windows systems: git-bash or powershell

Installation

Install the library globally using npm:

npm i -g dev20k-cli

Usage

Git commands

  • add & commit changes
xd commit "your commit message"
# or
xd cm "your commit message"
# manually: git add -A && git commit -m [message]
  • add & push all your changes to the current branch
xd submit "your commit message"
# or
xd sb "your commit message"
# manually: git add -A && git commit -m [message] && git push origin HEAD
  • push all your changes to the current branch
xd push
# or
xd ps
# manually: git push origin HEAD
  • pull latest changes from the current branch / specified branch
xd pull
# or
xd pl
# manually: git pull origin HEAD
xd pull master
# or
xd pl master
# manually: git pull origin master
  • create new local branch and checkout on it
xd newbranch branch/name
# or
xd nb branch/name
# manually: git checkout -b <branch/name>
  • reset uncommitted changes
xd reset
# or
xd rs
# manually: git reset --hard
  • get status of changes & last commits
xd status 5
# or
xd st 5
# manually: git status && git log --oneline -n [commits_number]
# number of commits logged by default: 5
  • remove directory recursively
xd remove directory_name
# or
xd rm directory_name
# manually: git rm -rf <directory_name>
  • clone repository
xd clone test@test.gitprovider.com/repository.git
# or
xd cl test@test.gitprovider.com/repository.git
# manually: git clone <path_to_repository>
  • remove all local branches repository
xd rmbranches # in that case the only remaining branch will be current one and master
xd rmbranches release # in that case the only remaining branch will be current one and release
# or
xd rmb # in that case the only remaining branch will be current one and master
xd rmb release # in that case the only remaining branch will be current one and release
# manually: git branch | grep -v '<default_branch>' | xargs git branch -D

Bash commands

  • show current directory & list all files inside
xd list
# or
xd ls
# manually: pwd && ls -lart
0.4.5

2 years ago

0.4.4

2 years ago

0.4.1

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.2.20

4 years ago

0.2.19

4 years ago

0.2.18

4 years ago

0.2.17

4 years ago

0.2.16

4 years ago

0.2.15

4 years ago

0.2.14

4 years ago

0.2.13

4 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.1

4 years ago

0.1.8

4 years ago

0.1.9

4 years ago

0.1.7

4 years ago

0.0.21

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.0.20

4 years ago

0.0.17

4 years ago

0.0.18

4 years ago

0.0.19

4 years ago

0.0.15

4 years ago

0.0.16

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago