@codingtools/cdt
CLI for Developers
Last updated a month ago by ashishpatel0720 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @codingtools/cdt 
SYNC missed versions from official npm registry.

@codingtools/cdt

CLI for Developers

GithubCI CircleCI Codacy Badge codecov Version npm node (scoped)GitHub commit activity GitHub contributors License

Introduction

cdt is a command line utililty for developers. It is focused on facilitating the development of applications by helping devs to do required tasks through utilities provided to enhance efficienty.

Support the project ⭐

If you feel awesome and want to support us in a small way, please consider starring and sharing the repo! This helps us getting known and grow the community. ????

vuesax-star

Installation

$ npm install -g @codingtools/cdt
$ cdt COMMAND
running command...
$ cdt (-v|--version|version)
@codingtools/cdt/0.4.0 darwin-x64 node-v12.9.0
$ cdt --help [COMMAND]
USAGE
  $ cdt COMMAND
...

Commands

cdt autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ cdt autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ cdt autocomplete
  $ cdt autocomplete bash
  $ cdt autocomplete zsh
  $ cdt autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

cdt avro [COMMAND]

Avro Utility command

USAGE
  $ cdt avro [COMMAND]

OPTIONS
  -c, --command=command        commands supported: get_schema,to_json,to_avro,to_csv
  -f, --file=file              input file path
  -h, --help                   show CLI help
  -o, --output=output          output file path
  -t, --schemaType=schemaType  schema type file path

See code: src/commands/avro.ts

cdt bundlephobia [PACKAGE]

Find cost of adding a npm/yarn packages or all dependencies in package.json file

USAGE
  $ cdt bundlephobia [PACKAGE]

OPTIONS
  -f, --file=file          path for package.json file
  -h, --help               show CLI help
  -p, --packages=packages  packages for which cost is required, can pass more than one separated by space

See code: src/commands/bundlephobia.ts

cdt commands

list all the commands

USAGE
  $ cdt commands

OPTIONS
  -h, --help  show CLI help
  -j, --json  output in json format
  --hidden    also show hidden commands

See code: @oclif/plugin-commands

cdt crypto [STRING]

Encryption and Decryption functionality for File/String

USAGE
  $ cdt crypto [STRING]

OPTIONS
  -d, --decryption=decryption  decryption type, Supported [AES, DES, 3DES, Rabbit, RC4, RC4Drop]
  -e, --encryption=encryption  encryption type, Supported [AES, DES, 3DES, Rabbit, RC4, RC4Drop]
  -f, --file=file              file to be encrypted/decrypted
  -h, --help                   show CLI help
  -k, --key=key                key for encryption/decryption
  -m, --mode=mode              Block Mode, Supported [CBC, CFB, CTR, OFB, ECB]
  -s, --string=string          string to be encrypted/decrypted

See code: src/commands/crypto.ts

cdt datetime [DATE]

Date and Time utility

USAGE
  $ cdt datetime [DATE]

OPTIONS
  -d, --date=date          Datetime input string, default: Current Datetime, could also be passed through argument
  -f, --format=format      Datetime format, default: Do MMMM YYYY, h:m:s A, Z UTC
  -h, --help               show CLI help
  -l, --locale=locale      Locale, default: en
  -z, --timezone=timezone  Timezone for Datetime parsing, default: Your timezone

See code: src/commands/datetime.ts

cdt hash [STRING]

Hashing functionality for a string/file

USAGE
  $ cdt hash [STRING]

OPTIONS
  -f, --file=file      file to be hashed
  -h, --help           show CLI help
  -o, --output=output  output file path
  -s, --string=string  string to be hashed
  -t, --type=type      type of hash [SHA1(default), MD5, SHA256, SHA512, RMD160 or RIPEMD160]

See code: src/commands/hash.ts

cdt help [COMMAND]

display help for cdt

USAGE
  $ cdt help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

cdt minify [FILE]

File Minifier

USAGE
  $ cdt minify [FILE]

OPTIONS
  -f, --file=file      file to be minified
  -h, --help           show CLI help
  -o, --output=output  output file path
  -t, --type=type      type of file to be minified, it will try to find type with extension supported: JS, HTML/HTM, CSS

See code: src/commands/minify.ts

cdt view [FILE]

View file content and more

USAGE
  $ cdt view [FILE]

OPTIONS
  -f, --file=file  formatted file to be shown
  -h, --help       show CLI help
  -n, --num=num    no. of rows to show, default:10

See code: src/commands/view.ts

Acknowledgement

  • this cli uses following opensource libraries/services

    And many others, great thanks to all the people involved in developnment and support :)

Contribution

Please Contribute to this project by forking cdt

Please feel free to provide any suggestion for new utility in Issues

@codingtools/cdt

This Project is created and managed by Ashish Patel

Releasing Version

  • this needs to be done from release* branch

Increasing Version

npm version [patch|minor|major] 

it will update readme.md and update package.json, also will create tag and commit.

Publishing to NPM

npm publish --access public

this will publish package to npm starting with updating README and publishing tarballs

Already a Github Action is there to publish on pushing a tag.

Creating Standalone Tarballs

oclif-dev pack

this will release standalone tarballs for linux, macos and windows which we can extract and uses.

Creating Installers

oclif-dev pack:macos 
oclif-dev pack:win 

these will create installers for macos and windows

License

MIT

Current Tags

  • 0.4.0                                ...           latest (a month ago)

11 Versions

  • 0.4.0                                ...           a month ago
  • 0.3.0                                ...           a month ago
  • 0.2.0                                ...           2 months ago
  • 0.1.8                                ...           4 months ago
  • 0.1.7                                ...           4 months ago
  • 0.1.6                                ...           4 months ago
  • 0.1.5                                ...           7 months ago
  • 0.1.4                                ...           7 months ago
  • 0.1.3                                ...           7 months ago
  • 0.1.2                                ...           7 months ago
  • 0.1.1                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 11
Last Day 0
Last Week 11
Last Month 18
Dependencies (23)
Dev Dependencies (15)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |