Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meower-rs

a rust rewrite of the original meower

installation

prerequisites:

  • cargo installed (from here)

clone this repo

git clone https://github.com/ellipticobj/meower-rs && cd meower-rs

install using cargo

cargo install --path .

make sure ~/.cargo is on your path!

usage

run meow -h for the full flag list. quick reference:

  • meow "commit message" — stage everything, commit, and push in one go
  • meow -a file1 file2 "message" — stage only the specified files
  • meow -s / -c / -p — run only the stage / commit / push step
  • meow -u <branch> "message" — sets upstream on the push
  • meow -f — push with --force-with-lease; -ff escalates to --force
  • meow -d ... — dry run: print the git commands without executing them
  • meow -v — verbose debug output (repeat for more, up to -vvv)
  • meow -E — exit immediately on any pipeline error (default is best-effort)
  • meow --add-remote <url> / --remove-remote — experimental origin management

screenshots

screenshot

todo

  • add spinners for long-running git operations
  • wire up --run for arbitrary git command passthrough
  • allow configurable remote name (currently hardcoded to origin)
  • harden formatoptionsline — the short-flag parser is fragile
  • decide the fate of _fatalerror (either use it or delete it)

done

  • fix the help flag
  • proper output
  • custom clap error output
  • custom --version styling
  • fix commit output printing
  • add flags for commit message
  • custom commit command output
  • add flags for setting upstream
  • add flags for staging certain files
  • add force and force with lease flags
  • add functions to print normal output, logs, errors, etc
  • exit gracefully instead of panicking when the command returns an error
  • add the basic features (--push, --add, --commit, --stage)
  • fix push function output (parsed into a compact summary)
  • add experimental remote add/remove

About

meower but in rust

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages