codebase

Crates.iocodebase
lib.rscodebase
version0.11.0
sourcesrc
created_at2020-07-10 17:49:33.084477
updated_at2020-07-15 10:00:49.637121
descriptionManage your codebase like a boss!
homepagehttps://codebase.rs/
repositoryhttps://github.com/codebase-rs/codebase
max_upload_size
id263773
size157,090
Aloïs Micard (creekorful)

documentation

README

Codebase

CI Security audit Crates.io

Manage efficiently your codebase organisation & configuration across your computers.

What is it

Codebase is a CLI tool to organize your codebase efficiently across your computers.

In a nutshell, it use a Git repository to store metadata about your current Codebase folder, and allow you to replicate the installation / structure / configuration across several computers. No more time spend on configuring Git, creation the folders, etc... Everything is done by running one command!

Restoring a existing configured codebase is easy as running

codebase clone <git-repository>

this will install the projects in their respecting folders, configure their Git repositories, re-install the Git hooks, etc...

You can try it by restoring my own codebase:

codebase clone https://github.com/creekorful/dot-codebase.git

Or if you are ready, you can import your existing codebase:

codebase init --import --remote <your-remote> <directory>
codebase push

And you'll be ready to go!

What's included

Persistent Git configuration

Codebase can restore your git configuration automatically. You can configure your Git username/email, enable GPG sign, etc...

View more at: https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration

Persistent Git hooks

Codebase can restore your Git hooks automatically. You can list the available hooks by running:

codebase --list-hooks

And you can add missing ones by submitting a PR here: https://github.com/codebase-rs/hooks

How to install

Codebase is available on Unix based computer as well as a Docker image.

Using Homebrew

You can install the latest version of codebase by using Homebrew.

brew install codebase-rs/tap/codebase

Using Snap

You can install the latest version of codebase by using Snapcraft.

snap install codebase

Using Cargo

You can install the latest version of codebase from crates.io.

cargo install codebase

Using Docker

The codebase executable is available as a Docker image.

docker pull docker.pkg.github.com/codebase-rs/codebase/codebase:0.11.0

Others ways

You can install & compile the latest (HEAD) version of codebase by using Cargo.

cargo install --git https://github.com/codebase-rs/codebase.git
Commit count: 0

cargo fmt