Geological-themed Git CLI
npm install codestrata-cliA geological-themed Git CLI that transforms your version control experience. Instead of git commands, use intuitive geological terms to manage your code layers!
``bash`
npm install -g codestrata-cli
| 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 |
`bashCreate a new repository
strata create-vault
Why 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
$3
Initializes a new git repository:
`bash
strata create-vault
`$3
Shows the current status of your repository:
`bash
strata excavate
`$3
Creates a commit with your changes:
`bash
strata fossilize "Add new feature layer"
`$3
Creates a new branch:
`bash
strata stratum-shift feature-name
`$3
Connects to a remote repository:
`bash
strata connect-vault origin https://github.com/username/repo.git
`$3
Pushes changes to the remote repository:
`bash
strata uplift origin main
`$3
Fetches changes from the remote repository:
`bash
strata unearth
or
strata unearth origin
`Requirements
- Node.js >=14.0.0
- Git installed and available in PATHContributing
Contributions are welcome! Feel free to:
1. Create new stratum (strata stratum-shift feature/amazing-feature)
2. Fossilize your changes (strata fossilize "Add amazing feature")
3. Uplift to master (strata uplift origin main)
4. Open a Pull RequestLicense
MITSupport
If you encounter any issues:
1. Check the command help with strata --help
2. Use strata [command] --help` for specific command details