https://github.com/dongyuwei/ctx
Context is all you need.
https://github.com/dongyuwei/ctx
Last synced: 8 months ago
JSON representation
Context is all you need.
- Host: GitHub
- URL: https://github.com/dongyuwei/ctx
- Owner: dongyuwei
- License: gpl-3.0
- Created: 2024-08-14T02:29:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-14T04:17:25.000Z (over 1 year ago)
- Last Synced: 2025-04-05T07:11:14.755Z (8 months ago)
- Language: Shell
- Size: 16.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ctx
Context is all you need: this repo provides a script which can concat all source code in specific git repo into one file.
## Usage
1. npm install -g repo-context
2. cd your-git-repo-folder
3. `ctx HEAD` concat all latest code
4. `ctx the-git-commit-revision-hash` concat all source code at specific git commit revision.