{"id":14155124,"url":"https://github.com/codingtools/cdt","last_synced_at":"2025-08-06T00:33:28.057Z","repository":{"id":35536978,"uuid":"216412518","full_name":"codingtools/cdt","owner":"codingtools","description":"Awesome cli for Devs 🚀","archived":false,"fork":false,"pushed_at":"2024-08-11T14:47:39.000Z","size":4796,"stargazers_count":7,"open_issues_count":29,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-11T16:02:28.564Z","etag":null,"topics":["avro","cdt","codingtools","command-line-tool","crypto","hacktoberfest","hash","minify","oclif"],"latest_commit_sha":null,"homepage":"https://codingtools.github.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codingtools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"patreon":"ashishpatel0720"}},"created_at":"2019-10-20T19:03:27.000Z","updated_at":"2024-08-11T14:46:51.000Z","dependencies_parsed_at":"2024-02-28T06:29:43.123Z","dependency_job_id":"93235a1d-8580-4021-a7af-6a05086e0354","html_url":"https://github.com/codingtools/cdt","commit_stats":{"total_commits":412,"total_committers":6,"mean_commits":68.66666666666667,"dds":"0.28398058252427183","last_synced_commit":"59c12378389744202aa59470aedd67fc93b8a375"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingtools%2Fcdt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingtools%2Fcdt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingtools%2Fcdt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingtools%2Fcdt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingtools","download_url":"https://codeload.github.com/codingtools/cdt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":215735785,"owners_count":15923388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avro","cdt","codingtools","command-line-tool","crypto","hacktoberfest","hash","minify","oclif"],"created_at":"2024-08-17T08:02:10.194Z","updated_at":"2024-08-17T08:04:41.193Z","avatar_url":"https://github.com/codingtools.png","language":"TypeScript","funding_links":["https://patreon.com/ashishpatel0720"],"categories":["hacktoberfest"],"sub_categories":[],"readme":"Welcome to @codingtools/cdt \n===\nCLI for Developers :sunglasses:\n\n[![GithubCI](https://github.com/codingtools/cdt/workflows/GithubCI/badge.svg)](https://github.com/codingtools/cdt/actions?query=workflow%3AGithubCI)\n[![GithubPublish](https://github.com/codingtools/cdt/actions/workflows/npmpublish.yml/badge.svg)](https://github.com/codingtools/cdt/actions/workflows/npmpublish.yml)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/82d29e2a902a4c338228d636f290d9cd)](https://app.codacy.com/gh/codingtools/cdt?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=codingtools/cdt\u0026utm_campaign=Badge_Grade_Dashboard)\n[![codecov](https://codecov.io/gh/codingtools/cdt/branch/release%2Frelease-v0.1/graph/badge.svg)](https://codecov.io/gh/codingtools/cdt)\n[![Version](https://img.shields.io/npm/v/@codingtools/cdt)](https://npmjs.org/package/@codingtools/cdt)\n![npm](https://img.shields.io/npm/dt/@codingtools/cdt)\n![node (scoped)](https://img.shields.io/node/v/@codingtools/cdt)[![GitHub commit activity](https://img.shields.io/github/commit-activity/m/codingtools/cdt)](https://github.com/codingtools/cdt/graphs/commit-activity)\n[![GitHub contributors](https://img.shields.io/github/contributors/codingtools/cdt)](https://github.com/codingtools/cdt/graphs/contributors)\n[![License](https://img.shields.io/npm/l/@codingtools/cdt)](https://github.com/codingtools/cdt/blob/master/package.json) \n\n\u003c!--  ![Node](https://img.shields.io/node/v/@codingtools/cdt) --\u003e\n\u003c!-- [![Downloads](https://img.shields.io/npm/dm/@codingtools/cdt)](https://npmjs.org/package/@codingtools/cdt) --\u003e\n\n\n## Introduction\n\n**cdt** is a command line utililty for developers.\nIt is focused on facilitating the development of applications by helping devs to do required tasks through utilities provided to enhance efficienty.\n\n## Supporting the project ⭐\n\nIf 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. 🙏\n\n\u003cimg src=\"https://raw.githubusercontent.com/lusaxweb/vuesax/master/public/github-vuesax-star.gif\" alt=\"vuesax-star\" /\u003e\n\n\n\n\u003c!-- toc --\u003e\n* [Installation](#installation)\n* [Commands](#commands)\n\u003c!-- tocstop --\u003e\n# Installation\n\u003c!-- usage --\u003e\n```sh-session\n$ npm install -g @codingtools/cdt\n$ cdt COMMAND\nrunning command...\n$ cdt (-v|--version|version)\n@codingtools/cdt/1.0.6 darwin-arm64 node-v19.5.0\n$ cdt --help [COMMAND]\nUSAGE\n  $ cdt COMMAND\n...\n```\n\u003c!-- usagestop --\u003e\n# Commands\n\u003c!-- commands --\u003e\n* [`cdt autocomplete [SHELL]`](#cdt-autocomplete-shell)\n* [`cdt avro [COMMAND]`](#cdt-avro-command)\n* [`cdt bundlephobia [PACKAGE]`](#cdt-bundlephobia-package)\n* [`cdt commands`](#cdt-commands)\n* [`cdt cron [STRING]`](#cdt-cron-string)\n* [`cdt crypto [STRING]`](#cdt-crypto-string)\n* [`cdt datetime [DATE]`](#cdt-datetime-date)\n* [`cdt hash [STRING]`](#cdt-hash-string)\n* [`cdt help [COMMAND]`](#cdt-help-command)\n* [`cdt minify [FILE]`](#cdt-minify-file)\n* [`cdt run [STRING]`](#cdt-run-string)\n* [`cdt view [FILE]`](#cdt-view-file)\n\n## `cdt autocomplete [SHELL]`\n\ndisplay autocomplete installation instructions\n\n```\nUSAGE\n  $ cdt autocomplete [SHELL]\n\nARGUMENTS\n  SHELL  shell type\n\nOPTIONS\n  -r, --refresh-cache  Refresh cache (ignores displaying instructions)\n\nEXAMPLES\n  $ cdt autocomplete\n  $ cdt autocomplete bash\n  $ cdt autocomplete zsh\n  $ cdt autocomplete --refresh-cache\n```\n\n_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v0.3.0/src/commands/autocomplete/index.ts)_\n\n## `cdt avro [COMMAND]`\n\nAvro Utility command\n\n```\nUSAGE\n  $ cdt avro [COMMAND]\n\nOPTIONS\n  -c, --command=command        commands supported: get_schema,to_json,to_avro,to_csv\n  -f, --file=file              input file path\n  -h, --help                   show CLI help\n  -o, --output=output          output file path\n  -t, --schemaType=schemaType  schema type file path\n```\n\n_See code: [src/commands/avro.ts](https://github.com/codingtools/cdt/blob/v1.0.6/src/commands/avro.ts)_\n\n## `cdt bundlephobia [PACKAGE]`\n\nFind cost of adding a npm/yarn packages or all dependencies in package.json file\n\n```\nUSAGE\n  $ cdt bundlephobia [PACKAGE]\n\nOPTIONS\n  -f, --file=file          path for package.json file\n  -h, --help               show CLI help\n  -p, --packages=packages  packages for which cost is required, can pass more than one separated by space\n```\n\n_See code: [src/commands/bundlephobia.ts](https://github.com/codingtools/cdt/blob/v1.0.6/src/commands/bundlephobia.ts)_\n\n## `cdt commands`\n\nlist all the commands\n\n```\nUSAGE\n  $ cdt commands\n\nOPTIONS\n  -h, --help              show CLI help\n  -j, --json              display unfiltered api data in json format\n  -x, --extended          show extra columns\n  --columns=columns       only show provided columns (comma-separated)\n  --csv                   output is csv format [alias: --output=csv]\n  --filter=filter         filter property by partial string matching, ex: name=foo\n  --hidden                show hidden commands\n  --no-header             hide table header from output\n  --no-truncate           do not truncate output to fit screen\n  --output=csv|json|yaml  output in a more machine friendly format\n  --sort=sort             property to sort by (prepend '-' for descending)\n```\n\n_See code: [@oclif/plugin-commands](https://github.com/oclif/plugin-commands/blob/v1.3.0/src/commands/commands.ts)_\n\n## `cdt cron [STRING]`\n\nCron Expressions helper and scheduler\n\n```\nUSAGE\n  $ cdt cron [STRING]\n\nOPTIONS\n  -d, --describe       Describe cron expressions into human readable descriptions\n  -h, --help           show CLI help\n  -r, --run=run        run command using cron expression\n  -s, --string=string  Cron expression\n```\n\n_See code: [src/commands/cron.ts](https://github.com/codingtools/cdt/blob/v1.0.6/src/commands/cron.ts)_\n\n## `cdt crypto [STRING]`\n\nEncryption and Decryption functionality for File/String\n\n```\nUSAGE\n  $ cdt crypto [STRING]\n\nOPTIONS\n  -d, --decryption=decryption  decryption type, Supported [AES, DES, 3DES, Rabbit, RC4, RC4Drop]\n  -e, --encryption=encryption  encryption type, Supported [AES, DES, 3DES, Rabbit, RC4, RC4Drop]\n  -f, --file=file              file to be encrypted/decrypted\n  -h, --help                   show CLI help\n  -k, --key=key                key for encryption/decryption\n  -m, --mode=mode              Block Mode, Supported [CBC, CFB, CTR, OFB, ECB]\n  -s, --string=string          string to be encrypted/decrypted\n```\n\n_See code: [src/commands/crypto.ts](https://github.com/codingtools/cdt/blob/v1.0.6/src/commands/crypto.ts)_\n\n## `cdt datetime [DATE]`\n\nDate and Time utility\n\n```\nUSAGE\n  $ cdt datetime [DATE]\n\nOPTIONS\n  -d, --date=date          Datetime input string, default: Current Datetime, could also be passed through argument\n  -f, --format=format      Datetime format, default: Do MMMM YYYY, h:m:s A, Z UTC\n  -h, --help               show CLI help\n  -l, --locale=locale      Locale, default: en\n  -z, --timezone=timezone  Timezone for Datetime parsing, default: Your timezone\n```\n\n_See code: [src/commands/datetime.ts](https://github.com/codingtools/cdt/blob/v1.0.6/src/commands/datetime.ts)_\n\n## `cdt hash [STRING]`\n\nHashing functionality for a string/file\n\n```\nUSAGE\n  $ cdt hash [STRING]\n\nOPTIONS\n  -f, --file=file      file to be hashed\n  -h, --help           show CLI help\n  -o, --output=output  output file path\n  -s, --string=string  string to be hashed\n  -t, --type=type      type of hash [SHA1(default), MD5, SHA256, SHA512, RMD160 or RIPEMD160]\n```\n\n_See code: [src/commands/hash.ts](https://github.com/codingtools/cdt/blob/v1.0.6/src/commands/hash.ts)_\n\n## `cdt help [COMMAND]`\n\ndisplay help for cdt\n\n```\nUSAGE\n  $ cdt help [COMMAND]\n\nARGUMENTS\n  COMMAND  command to show help for\n\nOPTIONS\n  --all  see all commands in CLI\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.3/src/commands/help.ts)_\n\n## `cdt minify [FILE]`\n\nFile Minifier\n\n```\nUSAGE\n  $ cdt minify [FILE]\n\nOPTIONS\n  -f, --file=file      file to be minified\n  -h, --help           show CLI help\n  -o, --output=output  output file path\n  -t, --type=type      type of file to be minified, it will try to find type with extension supported: JS, HTML/HTM, CSS\n```\n\n_See code: [src/commands/minify.ts](https://github.com/codingtools/cdt/blob/v1.0.6/src/commands/minify.ts)_\n\n## `cdt run [STRING]`\n\nCron Expressions helper and scheduler\n\n```\nUSAGE\n  $ cdt run [STRING]\n\nOPTIONS\n  -h, --help           show CLI help\n  -s, --string=string  command to execute, should be compatible with your shell\n```\n\n_See code: [src/commands/run.ts](https://github.com/codingtools/cdt/blob/v1.0.6/src/commands/run.ts)_\n\n## `cdt view [FILE]`\n\nView file content and more\n\n```\nUSAGE\n  $ cdt view [FILE]\n\nOPTIONS\n  -f, --file=file  formatted file to be shown\n  -h, --help       show CLI help\n  -n, --num=num    no. of rows to show, default:10\n```\n\n_See code: [src/commands/view.ts](https://github.com/codingtools/cdt/blob/v1.0.6/src/commands/view.ts)_\n\u003c!-- commandsstop --\u003e\n\n## Acknowledgement\n * this cli uses following opensource libraries/services\n    * [bundlephobia](https://bundlephobia.com/)\n    * [avro-js](https://openbase.io/js/avro-js) \n    * [avsc](https://github.com/mtth/avsc)\n    \n    And many others, great thanks to all the people involved in developnment and support :)\n\n## Contribution\n\nPlease Contribute to this project by forking [cdt](https://github.com/codingtools/cdt/)\n\nPlease feel free to provide any suggestion for new utility in [Issues](https://github.com/codingtools/cdt/issues)\n\n## @codingtools/cdt\n\nThis Project is created and managed by [Ashish Patel](http://ashish.live/)\n\n## Releasing Version\n* this needs to be done from release* branch\n\n### Increasing Version\n\n```bash\nnpm version [patch|minor|major] \n```\nit will update readme.md and update package.json, also will create tag and commit.\n\n### Publishing to NPM\n\n```bash\nnpm publish --access public\n```\nthis will publish package to **npm** starting with updating README and publishing tarballs\n\n\u003e Already a Github Action is there to publish on pushing a tag.\n\n### Creating Standalone Tarballs\n\n```bash\noclif-dev pack\n```\nthis will release standalone tarballs for linux, macos and windows which we can extract and uses.\n\n### Creating Installers\n\n```bash \noclif-dev pack:macos \noclif-dev pack:win \n```\nthese will create installers for macos and windows\n\n## Sponsors\n\u003e Built using Jetbrains Products\n![Jetbrains](https://www.jetbrains.com/company/brand/img/jetbrains_logo.png)\n\n\n## License\n\n[MIT](https://raw.githubusercontent.com/codingtools/cdt/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingtools%2Fcdt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingtools%2Fcdt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingtools%2Fcdt/lists"}