A compilation of my CLI snippets.
- Install globally:
go install github.com/Mist3rBru/my-cli@latest
. - Configure your cli for the first time:
my-cli setup
. - Use
my-cli <command> <parameters>
to trigger a command, or justmy-cli
to take an overview of all commands.
setup
: Prepare the required setupcheckout
: List all local and remote branches, to select and checkout to itclone
: Clone a Github's repository based onsetup
, sets gitorigin
too
, install dependencies, and open it on vscodehttp
: Make an http requestinit
: Initialize a default project with git and typescriptopen
: Open a project on vscode, the projects available are based onsetup
password
: Generate a random and safe password with the given lengthrun
: Run scripts in sequencescript
: Write common scripts on local package.jsonsnippet
: Create snippet collections on local projectupgrade
: Update package to latest version