codestrata-cli
v1.0.11
Published
Geological-themed Git CLI
Readme
codestrata-cli-test
=======
Codestrata CLI
A geological-themed Git CLI that transforms your version control experience. Instead of git commands, use intuitive geological terms to manage your code layers!
Installation
npm install -g codestrata-cliCommands
| Codestrata Command | Git Equivalent | Description |
|-------------------|----------------|-------------|
| strata create-vault | git init | Initialize a new repository |
| strata excavate | git status | Check repository status |
| strata fossilize "message" | git commit | Save changes with a message |
| strata stratum-shift branch-name | git branch | Create a new code layer (branch) |
| strata connect-vault origin url | git remote add | Connect to a remote repository |
| strata uplift origin main | git push | Push changes to remote |
| strata unearth [remote] | git fetch | Fetch changes from remote |
Quick Start
# Create a new repository
strata create-vault
# Check status
strata excavate
# Commit changes
strata fossilize "Initial rock formation"
# Create a new branch
strata stratum-shift feature-layer
# Connect to GitHub
strata connect-vault origin https://github.com/username/repo.git
# Push your changes
strata uplift origin mainWhy Geological Terms?
Just as geologists study Earth's history through rock layers, developers manage code through layers of changes:
- Commits become "fossils" - preserved snapshots of your code
- Branches become "strata" - different layers of development
- Status checks become "excavations" - examining your current state
- Pushing becomes "uplift" - elevating your code to remote repositories
Command Details
create-vault
Initializes a new git repository:
strata create-vaultexcavate
Shows the current status of your repository:
strata excavatefossilize
Creates a commit with your changes:
strata fossilize "Add new feature layer"stratum-shift
Creates a new branch:
strata stratum-shift feature-nameconnect-vault
Connects to a remote repository:
strata connect-vault origin https://github.com/username/repo.gituplift
Pushes changes to the remote repository:
strata uplift origin mainunearth
Fetches changes from the remote repository:
strata unearth
# or
strata unearth originRequirements
- Node.js >=14.0.0
- Git installed and available in PATH
Contributing
Contributions are welcome! Feel free to:
- Create new stratum (
strata stratum-shift feature/amazing-feature) - Fossilize your changes (
strata fossilize "Add amazing feature") - Uplift to master (
strata uplift origin main) - Open a Pull Request
License
MIT
Support
If you encounter any issues:
- Check the command help with
strata --help - Use
strata [command] --helpfor specific command details - Open an issue on GitHub
