0.3.2 • Published 2 years ago

dev20k-cli v0.3.2

Weekly downloads
3
License
ISC
Repository
github
Last release
2 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

4 months ago

0.4.4

4 months ago

0.4.1

4 months ago

0.4.3

4 months ago

0.4.2

4 months ago

0.3.2

2 years ago

0.3.1

2 years ago

0.2.20

2 years ago

0.2.19

2 years ago

0.2.18

2 years ago

0.2.17

2 years ago

0.2.16

2 years ago

0.2.15

3 years ago

0.2.14

3 years ago

0.2.13

3 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.1

3 years ago

0.1.8

3 years ago

0.1.9

3 years ago

0.1.7

3 years ago

0.0.21

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.0.20

3 years ago

0.0.17

3 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago