Skip to content

vbs-plus/magic-cli

Repository files navigation

Magic CLI (WIP)

A Monorepo Enterprise level CLI tools by Rush.

NPM version

🧑‍💻 Document

New version of Magic preview, Stay tuned!

Getting Start

This section will help you learn how to use Magic-cli. If you already have an existing project and would like to keep project inside the project, start from Step 2.

Step 1: Install Magic

To install the new package, use one of the following commands.

$ npm install -g @vbs/magic-cli-core
# OR
$ yarn global add @vbs/magic-cli-core
# OR
$ pnpm install --global @vbs/magic-cli-core

If you are using zi, you can run the following command.

$ zi -g @vbs/magic-cli-core

You can check you have the right version with this command:

magic --version

Step 2: Checkout Magic works normally

You can use the following command to show Magic's features.

magic -h

Upgrading

To upgrade the global Magic CLI package, you need to run:

npm update -g  @vbs/magic-cli-core

# OR
yarn global upgrade --latest  @vbs/magic-cli-core

# OR
pnpm update -g  @vbs/magic-cli-core

Creating a Project

To create a new project, run:

magic init 
#OR
magic init hello-world

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

License

MIT License © 2022 mohen