iesahin / xvc

A robust (🐢) and fast (🐇) MLOps tool for managing data and pipelines in Rust (🦀)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`xvc aliases` for creating aliases for common shells

iesahin opened this issue · comments

We have at least 2 level commands, and they get long pretty quickly. A set of aliases can be written to a shell script, like:

alias xvcf = xvc file
alias xvcft = xvc file track
alias xvcfl = xvc file list
alias xvcfs = xvc file send
alias xvcfb = xvc file bring
alias xls = xvc file list
alias pvc = xvc pipeline
alias xvcp = xvc pipeline 
alias xvcpr = xvc pipeline run
alias xvcps = xvc pipeline step
alias xvcpsn = xvc pipeline step new
alias xvcpsd = xvc pipeline step dependency
alias xvcpso = xvc pipeline step output
alias xvcs = xvc storage
alias xvcsn = xvc storage new
alias xvcsl = xvc storage list
alias xvcsr = xvc storage remove 

....

These can be written to ~/.xvc_aliases and can be sourced from .zshrc or .bashrc.

xvc aliases command is better to print all these aliases and do nothing else. User can do whatever they want.