0.0.13 • Published 1 year ago

@jianxing/jx v0.0.13

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

jx

npm version npm downloads bundle JSDocs License

Personal CLI tool

  • Cloen repo
  • Common text snippets
  • ...

Install

#pnpm
pnpm i -g @jianxing/jx
# npm
npm i -g @jianxing/jx
# yarn
yarn add -g @jianxing/jx

Usage

Command

# jx config
jx config repoUrl=xxx # common text snippets repo url
jx config accessToken=xxx # auth account token, generate by Profile -> Settings -> Developer settings -> Personal access tokens -> Tokens(classic) or Fine-grained tokens

# jx repo
jx repo # show all common text list
jx repo <filePath> # get a file content
jx repo <filePath> -d # delete a file
jx repo <filePath> "some content" -s # put some content to file
jx repo <filePath> "some content" -sn # create a file with content
jx repo <filePath> "some content" -a # append content to a file

# jx start <repo> [owner] [ref],owner defult is self
jx start <repo> # clone <repo>
jx start <repo> [owner] # clone <repo> of [owner]
jx start <repo> [owner] [ref] # ref is branch or tag or commitHash

License

MIT License © 2023-PRESENT Jianxing Xu

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.6

1 year ago