An open API service indexing awesome lists of open source software.

https://github.com/vbs-plus/magic-cli

A Magic Cli
https://github.com/vbs-plus/magic-cli

cli command nodejs pnpm rush typescript

Last synced: 6 months ago
JSON representation

A Magic Cli

Awesome Lists containing this project

README

          



Magic CLI (WIP)


A Monorepo Enterprise level CLI tools by Rush.


NPM version



🧑‍💻 Document

## New version of Magic preview, Stay tuned!

![](./screen/demo.gif)

## Getting Start

This section will help you learn how to use [Magic-cli](https://github.com/vbs-plus/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.

``` sh
$ 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](https://www.npmjs.com/package/za-zi), you can run the following command.

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

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

```sh
magic --version
```

### Step 2: Checkout `Magic` works normally

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

```sh
magic -h
```

## Upgrading

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

```sh
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:
```sh
magic init
#OR
magic init hello-world
```

## Contributing

Contributions are always welcome!

See [CONTRIBUTING.md](https://github.com/vbs-plus/magic-cli/blob/main/CONTRIBUTING.MD) for ways to get started.

## License

[MIT](./LICENCE) License © 2022 [mohen](https://github.com/yzh990918)