Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@matijanovosel/matija-cli

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matijanovosel/matija-cli

CLI for creating Vue files

  • 1.0.17
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

matija-cli

Vue CLI for scaffolding new files.

matija flags

flags:

-t (--type) -> type of the component

options: component | reusable
explanation: 
  component - regular .vue file with specified hooks and imports, html template, script and style (defaults to regular css)
  reusable - .js file with specified imports, mixin for Vue 2
default: component

-n (--name) -> name of the component, if the component type is reusable it does not need to be supplied

default: test

-v (--version) -> vue version, either vue 2 or vue 3 composition API syntax

options: 2 | 3
default: 3

-h (--help) -> print help message

-d (--directory) -> where the file will be created

default: current directory (/.), can also be written explicitly with . or /.

-s (--skip) -> skip all prompts

-f (--file) -> name of the newly created file

default: name of the component

-hks (--hooks) -> list of injected lifecycle hooks, separated by a comma

options: 
  beforeCreate - bC (Not in Vue 3)
  created - c (Not in Vue 3)
  beforeMount - bM
  mounted - m
  beforeUpdate -> bU
  updated -> u
  beforeDestroy -> bD
  destroyed -> d
  activated -> a
  deactivated -> da
  errorCaptured -> eC
  onRenderTracked -> oRT (Not in Vue 2)
  onRenderTriggered -> oRTg (Not in Vue 2)
default: null
example: bM,bU,bD (can be separated by a space as well -> bM, bU, bD)

Keywords

FAQs

Package last updated on 13 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc