todayidliketobe

Crates.iotodayidliketobe
lib.rstodayidliketobe
version0.1.3
created_at2025-09-26 18:00:53.917561+00
updated_at2025-10-29 14:31:08.846625+00
descriptionA simple git account switcher
homepage
repositoryhttps://github.com/nonepork/todayidliketobe
max_upload_size
id1856291
size56,183
nonepork (nonepork)

documentation

README

Today I'd like to be

i should probably add a preview here someday

Table of contents

What is this?

This is a simple cli tool for switching your git account, to be specific:

  • Generates ssh key
  • Automatically configure user.name and user.email
  • Automatically sets remote

Installation

Windows

cargo install todayidliketobe

Linux/macOS

Same as above, haven't tested but should work in theory.

Usage

To check all possible actions:

tilb --help

Say you have two git accounts, one for work named as workuser and the other for personal named as personaluser. And you already logged in as personaluser with any credential manager. You can add those users like so:

tilb add workuser workusermail@lovely.com
tilb add -u personaluser personaluser@lonely.com

Once added, you can check it has been successfully add via:

tilb list

Now say you already logged in as personaluser before, but you got a repo folder that requires workuser, you can cd into the folder then:

tilb switch workuser

then do your git commands.

Now say you got laid off, you can do

tilb remove workuser

FAQ

What is this name?

i thought it was funny the first 5 seconds i came up with this name :p

Artefacts

This cli generates:

  • ~/.tilb/config.json
  • ~/.ssh/tilb/(private keys)

Which will not be deleted if uninstalled

And modifies:

  • ~/.ssh/config

With banner starts as #tilb_generated

Commit count: 0

cargo fmt