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

https://github.com/unicorn-plus-plus/cli

Unicorn-plus-plus is a packet manager that boosts your .cpp projects with ✨magic✨
https://github.com/unicorn-plus-plus/cli

builder c cli cmake cplusplus cpp packet-manager

Last synced: 9 months ago
JSON representation

Unicorn-plus-plus is a packet manager that boosts your .cpp projects with ✨magic✨

Awesome Lists containing this project

README

          

#


logo

Unicorn-plus-plus CLI



Unicorn-plus-plus is a packet manager that boosts your .cpp projects with ✨magic✨.


- Requirements -










## :rocket: Installation
1. Install [npm](https://docs.npmjs.com/getting-started/installing-node)
2. Execute the command
```shell
npm install unicorn-plus-plus-cli -g
```

## :unicorn: Unicorn Plus Plus
UPP is a wrapper for CMAKE. It aims to standardize the development of cpp libraries.

The main feature is the **upp.json** configuration file. At the moment, the available features are only the ones shown in this example:
```json
{
"name": "Unicorn",
"namespace": "Magicland",
"version": "4.0.4",
"description": "This Unicorn packet is awersome.",
"modules": [
{
"name": "MagiclandCat",
"tag": "HEAD",
"path": "https://github.com/unicorn-plus-plus/cat",
},
{
"name": "MagiclandGuineapig",
"tag": "HEAD",
"path": "https://github.com/unicorn-plus-plus/guineapig",
},
]
}
```

## :computer: CLI Commands
>If you want to see help just press `upp` in console.

Here is the list of all commands available:
- `new:simple [name]`

Create a new simple project. Use this if you want to build a simple main to test stuff.
- `new:executable [name] -n [namespace]`

Create a new executable project with namespace. Use this for standard project. You must specify a namespace to avoid problems with hierarchy.
- `new:interface [name] -n [namespace]`

Create a new interface project with namespace. Similar to executable but you need this version if you use full templates and you don't have .cpp file to compile.
- `help [command]`

Display help for command.

## :gift: Credits
- **Icon**: made by Freepik from www.flaticon.com