From 16b296b4085933f06b1ee94fd5cf6a93afe3b5b7 Mon Sep 17 00:00:00 2001 From: Tamas Amon Date: Fri, 12 Jul 2019 12:29:35 +0200 Subject: [PATCH] Quasar framework plugin --- plugins/quasar/README.md | 43 ++++++++++++++++++++++++++++++++ plugins/quasar/quasar.plugin.zsh | 29 +++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 plugins/quasar/README.md create mode 100644 plugins/quasar/quasar.plugin.zsh diff --git a/plugins/quasar/README.md b/plugins/quasar/README.md new file mode 100644 index 000000000..063d3b3b6 --- /dev/null +++ b/plugins/quasar/README.md @@ -0,0 +1,43 @@ +# Quasar framework +https://quasar.dev + +This plugin makes quasar commands using easier + +To start using it, add the `quasar` plugin to your `plugins` array in `~/.zshrc`: + +```zsh +plugins=(... quasar) +``` + +## Common aliases + +| Alias | Command | Description | +| ---------------------- | ------------------------------ | --------------------------------------------------------------------------- | +| q | quasar | Run the quasar command itself | +| qc | quasar create | Create a project folder | +| qi | quasar info | Display info about your machine (and your App if in a project folder) | +| qu | quasar upgrade | Check (and optionally) upgrade Quasar packages from a Quasar project folder | +| qs | quasar server | Create an ad-hoc server on App's distributables | + +## Common aliases in project directory +These are not in the plugin these coming from quasar itself + +| Alias | Command | Description | +| ---------------------- | ------------------------------ | --------------------------------------------------------------------------- | +| qd | quasar dev | Start a dev server for your App | +| qb | quasar build | Build your app for production | +| qc | quasar clean | Clean all build artifacts | +| qn | quasar new | Quickly scaffold page/layout/component/... vue file | +| qnp | quasar new page | Quickly scaffold page vue file | +| qnl | quasar new layout | Quickly scaffold layout vue file | +| qnc | quasar new component | Quickly scaffold component vue file | +| qnb | quasar new boot | Quickly scaffold boot vue file | +| qns | quasar new store | Quickly scaffold store vue file | +| qm | quasar mode | Add/remove Quasar Modes for your App | +| qin | quasar inspect | Inspect generated Webpack config | +| qe | quasar ext | Manage Quasar App Extensions | +| qea | quasar ext add | Add Quasar App Extension | +| qer | quasar ext remove | Remove Quasar App Extension | +| qr | quasar run | Run specific command provided by an installed Quasar App Extension | +| qde | quasar describe | Describe a Quasar API (component) | +| qt | quasar test | Run @quasar/testing App Extension command | diff --git a/plugins/quasar/quasar.plugin.zsh b/plugins/quasar/quasar.plugin.zsh new file mode 100644 index 000000000..69c755c76 --- /dev/null +++ b/plugins/quasar/quasar.plugin.zsh @@ -0,0 +1,29 @@ +# Quasar framework zsh plugin +# author: https://github.com/sajt + +# Use main Visual Studio Code version by default +: ${QUASAR:=quasar} + +alias q="$QUASAR" +alias qc="$QUASAR create" +alias qi="$QUASAR info" +alias qu="$QUASAR upgrade" +alias qs="$QUASAR serve" +alias qh="$QUASAR help" +alias qd="$QUASAR dev" +alias qb="$QUASAR build" +alias qc="$QUASAR clean" +alias qn="$QUASAR new" +alias qnp="$QUASAR new page" +alias qnl="$QUASAR new layout" +alias qnc="$QUASAR new component" +alias qnb="$QUASAR new boot" +alias qns="$QUASAR new store" +alias qm="$QUASAR mode" +alias qin="$QUASAR inspect" +alias qe="$QUASAR ext" +alias qea="$QUASAR ext add" +alias qer="$QUASAR ext remove" +alias qr="$QUASAR run" +alias qde="$QUASAR describe" +alias qt="$QUASAR test"